public class EndpointImpl extends AbstractAttributedInterceptorProvider implements Endpoint, Configurable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EndpointImpl(Bus bus,
Service s,
EndpointInfo ei) |
EndpointImpl(Bus bus,
Service s,
QName endpointName) |
Modifier and Type | Method and Description |
---|---|
void |
addCleanupHook(Closeable c)
Add a hook that will be called when this end point being terminated.
|
List<Feature> |
getActiveFeatures() |
String |
getBeanName()
Get the configurable object's Bean name
|
Binding |
getBinding() |
Bus |
getBus() |
List<Closeable> |
getCleanupHooks() |
EndpointInfo |
getEndpointInfo() |
Executor |
getExecutor() |
MessageObserver |
getInFaultObserver() |
MessageObserver |
getOutFaultObserver() |
Service |
getService() |
int |
hashCode()
Returns the hashCode bsed on the EndpointInfo so that this object
can be used as a map key.
|
void |
initializeActiveFeatures(List<? extends Feature> features) |
void |
setBus(Bus bus) |
void |
setExecutor(Executor e) |
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.
|
equals, getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, put, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, putAll, putIfAbsent, remove, remove, replace, replace, size, values
clone, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, containsKey, containsValue, entrySet, equals, get, isEmpty, keySet, put, putAll, remove, size, values
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
public EndpointImpl(Bus bus, Service s, QName endpointName) throws EndpointException
EndpointException
public EndpointImpl(Bus bus, Service s, EndpointInfo ei) throws EndpointException
EndpointException
public String getBeanName()
Configurable
getBeanName
in interface Configurable
public EndpointInfo getEndpointInfo()
getEndpointInfo
in interface Endpoint
public Service getService()
getService
in interface Endpoint
public Binding getBinding()
getBinding
in interface Endpoint
public Executor getExecutor()
getExecutor
in interface Endpoint
public void setExecutor(Executor e)
setExecutor
in interface Endpoint
public Bus getBus()
public void setBus(Bus bus)
public MessageObserver getInFaultObserver()
getInFaultObserver
in interface Endpoint
public MessageObserver getOutFaultObserver()
getOutFaultObserver
in interface Endpoint
public void setInFaultObserver(MessageObserver observer)
setInFaultObserver
in interface Endpoint
public void setOutFaultObserver(MessageObserver observer)
setOutFaultObserver
in interface Endpoint
public void setProperties(Map<String,Object> properties)
properties
- public List<Feature> getActiveFeatures()
getActiveFeatures
in interface Endpoint
public void initializeActiveFeatures(List<? extends Feature> features)
features
- the list of features already activated for this endpoint.public int hashCode()
public void addCleanupHook(Closeable c)
Endpoint
addCleanupHook
in interface Endpoint
public List<Closeable> getCleanupHooks()
getCleanupHooks
in interface Endpoint
Apache CXF