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:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMapConcurrentHashMap.KeySetView<K extends Object,V extends Object>
 - 
Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
 
- 
 - 
Constructor SummaryConstructors Constructor Description EndpointImpl(Bus bus, Service s, QName endpointName)EndpointImpl(Bus bus, Service s, EndpointInfo ei)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCleanupHook(Closeable c)Add a hook that will be called when this end point being terminated.booleanequals(Object obj)List<Feature>getActiveFeatures()StringgetBeanName()Get the configurable object's Bean nameBindinggetBinding()BusgetBus()List<Closeable>getCleanupHooks()EndpointInfogetEndpointInfo()ExecutorgetExecutor()MessageObservergetInFaultObserver()MessageObservergetOutFaultObserver()ServicegetService()inthashCode()Returns the hashCode based on the EndpointInfo so that this object can be used as a map key.voidinitializeActiveFeatures(List<? extends Feature> features)voidsetBus(Bus bus)voidsetExecutor(Executor e)voidsetInFaultObserver(MessageObserver observer)voidsetOutFaultObserver(MessageObserver observer)voidsetProperties(Map<String,Object> properties)Utility method to make it easy to set properties from Spring.- 
Methods inherited from class org.apache.cxf.interceptor.AbstractAttributedInterceptorProvidergetInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, put, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 - 
Methods inherited from class java.util.concurrent.ConcurrentHashMapclear, 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.AbstractMapclone
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvidergetInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
 
- 
 
- 
- 
- 
Constructor Detail- 
EndpointImplpublic EndpointImpl(Bus bus, Service s, QName endpointName) throws EndpointException - Throws:
- EndpointException
 
 - 
EndpointImplpublic EndpointImpl(Bus bus, Service s, EndpointInfo ei) throws EndpointException - Throws:
- EndpointException
 
 
- 
 - 
Method Detail- 
getBeanNamepublic String getBeanName() Description copied from interface:ConfigurableGet the configurable object's Bean name- Specified by:
- getBeanNamein interface- Configurable
- Returns:
- the bean name
 
 - 
getEndpointInfopublic EndpointInfo getEndpointInfo() - Specified by:
- getEndpointInfoin interface- Endpoint
 
 - 
getServicepublic Service getService() - Specified by:
- getServicein interface- Endpoint
 
 - 
getBindingpublic Binding getBinding() - Specified by:
- getBindingin interface- Endpoint
 
 - 
getExecutorpublic Executor getExecutor() - Specified by:
- getExecutorin interface- Endpoint
 
 - 
setExecutorpublic void setExecutor(Executor e) - Specified by:
- setExecutorin interface- Endpoint
 
 - 
getBuspublic Bus getBus() 
 - 
setBuspublic void setBus(Bus bus) 
 - 
getInFaultObserverpublic MessageObserver getInFaultObserver() - Specified by:
- getInFaultObserverin interface- Endpoint
 
 - 
getOutFaultObserverpublic MessageObserver getOutFaultObserver() - Specified by:
- getOutFaultObserverin interface- Endpoint
 
 - 
setInFaultObserverpublic void setInFaultObserver(MessageObserver observer) - Specified by:
- setInFaultObserverin interface- Endpoint
 
 - 
setOutFaultObserverpublic void setOutFaultObserver(MessageObserver observer) - Specified by:
- setOutFaultObserverin interface- Endpoint
 
 - 
setPropertiespublic void setProperties(Map<String,Object> properties) Utility method to make it easy to set properties from Spring.- Parameters:
- properties-
 
 - 
getActiveFeaturespublic List<Feature> getActiveFeatures() - Specified by:
- getActiveFeaturesin interface- Endpoint
- Returns:
- the list of features already activated for this endpoint.
 
 - 
initializeActiveFeaturespublic void initializeActiveFeatures(List<? extends Feature> features) - Parameters:
- features- the list of features already activated for this endpoint.
 
 - 
equalspublic boolean equals(Object obj) 
 - 
hashCodepublic int hashCode() Returns the hashCode based on the EndpointInfo so that this object can be used as a map key.
 - 
addCleanupHookpublic void addCleanupHook(Closeable c) Description copied from interface:EndpointAdd 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:
- addCleanupHookin interface- Endpoint
 
 - 
getCleanupHookspublic List<Closeable> getCleanupHooks() - Specified by:
- getCleanupHooksin interface- Endpoint
 
 
- 
 
-