Package org.apache.cxf.endpoint
Class EndpointImpl
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<String,Object>
org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
org.apache.cxf.endpoint.EndpointImpl
- All Implemented Interfaces:
Serializable
,ConcurrentMap<String,
,Object> Map<String,
,Object> Configurable
,Endpoint
,InterceptorProvider
public class EndpointImpl
extends AbstractAttributedInterceptorProvider
implements Endpoint, Configurable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,
V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorDescriptionEndpointImpl
(Bus bus, Service s, QName endpointName) EndpointImpl
(Bus bus, Service s, EndpointInfo ei) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a hook that will be called when this end point being terminated.boolean
Get the configurable object's Bean namegetBus()
int
hashCode()
Returns the hashCode based on the EndpointInfo so that this object can be used as a map key.void
initializeActiveFeatures
(List<? extends Feature> features) void
void
void
setInFaultObserver
(MessageObserver observer) void
setOutFaultObserver
(MessageObserver observer) void
setProperties
(Map<String, Object> properties) Utility method to make it easy to set properties from Spring.Methods inherited from class org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, put, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
Methods inherited from class java.util.AbstractMap
clone
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
-
Constructor Details
-
EndpointImpl
- Throws:
EndpointException
-
EndpointImpl
- Throws:
EndpointException
-
-
Method Details
-
getBeanName
Description copied from interface:Configurable
Get the configurable object's Bean name- Specified by:
getBeanName
in interfaceConfigurable
- Returns:
- the bean name
-
getEndpointInfo
- Specified by:
getEndpointInfo
in interfaceEndpoint
-
getService
- Specified by:
getService
in interfaceEndpoint
-
getBinding
- Specified by:
getBinding
in interfaceEndpoint
-
getExecutor
- Specified by:
getExecutor
in interfaceEndpoint
-
setExecutor
- Specified by:
setExecutor
in interfaceEndpoint
-
getBus
-
setBus
-
getInFaultObserver
- Specified by:
getInFaultObserver
in interfaceEndpoint
-
getOutFaultObserver
- Specified by:
getOutFaultObserver
in interfaceEndpoint
-
setInFaultObserver
- Specified by:
setInFaultObserver
in interfaceEndpoint
-
setOutFaultObserver
- Specified by:
setOutFaultObserver
in interfaceEndpoint
-
setProperties
Utility method to make it easy to set properties from Spring.- Parameters:
properties
-
-
getActiveFeatures
- Specified by:
getActiveFeatures
in interfaceEndpoint
- Returns:
- the list of features already activated for this endpoint.
-
initializeActiveFeatures
- Parameters:
features
- the list of features already activated for this endpoint.
-
equals
-
hashCode
public int hashCode()Returns the hashCode based on the EndpointInfo so that this object can be used as a map key. -
addCleanupHook
Description copied from interface:Endpoint
Add a hook that will be called when this end point being terminated. This will be called prior to the Server/ClientLifecycleListener.*Destroyed() method is called. This provides an opportunity to cleanup any resources that are specific to this Endpoint.- Specified by:
addCleanupHook
in interfaceEndpoint
-
getCleanupHooks
- Specified by:
getCleanupHooks
in interfaceEndpoint
-