org.apache.cxf.endpoint
Class EndpointImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
              extended by org.apache.cxf.endpoint.EndpointImpl
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, org.apache.cxf.configuration.Configurable, org.apache.cxf.endpoint.Endpoint, org.apache.cxf.interceptor.InterceptorProvider

public class EndpointImpl
extends org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
implements org.apache.cxf.endpoint.Endpoint, org.apache.cxf.configuration.Configurable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
EndpointImpl(org.apache.cxf.Bus bus, org.apache.cxf.service.Service s, org.apache.cxf.service.model.EndpointInfo ei)
           
EndpointImpl(org.apache.cxf.Bus bus, org.apache.cxf.service.Service s, QName endpointName)
           
 
Method Summary
 List<org.apache.cxf.feature.AbstractFeature> getActiveFeatures()
           
 String getBeanName()
           
 org.apache.cxf.binding.Binding getBinding()
           
 org.apache.cxf.Bus getBus()
           
 org.apache.cxf.service.model.EndpointInfo getEndpointInfo()
           
 Executor getExecutor()
           
 org.apache.cxf.transport.MessageObserver getInFaultObserver()
           
 org.apache.cxf.transport.MessageObserver getOutFaultObserver()
           
 org.apache.cxf.service.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<org.apache.cxf.feature.AbstractFeature> features)
           
 void setBus(org.apache.cxf.Bus bus)
           
 void setExecutor(Executor e)
           
 void setInFaultObserver(org.apache.cxf.transport.MessageObserver observer)
           
 void setOutFaultObserver(org.apache.cxf.transport.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
equals, getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
 

Constructor Detail

EndpointImpl

public EndpointImpl(org.apache.cxf.Bus bus,
                    org.apache.cxf.service.Service s,
                    QName endpointName)
             throws EndpointException
Throws:
EndpointException

EndpointImpl

public EndpointImpl(org.apache.cxf.Bus bus,
                    org.apache.cxf.service.Service s,
                    org.apache.cxf.service.model.EndpointInfo ei)
             throws EndpointException
Throws:
EndpointException
Method Detail

getBeanName

public String getBeanName()
Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable

getEndpointInfo

public org.apache.cxf.service.model.EndpointInfo getEndpointInfo()
Specified by:
getEndpointInfo in interface org.apache.cxf.endpoint.Endpoint

getService

public org.apache.cxf.service.Service getService()
Specified by:
getService in interface org.apache.cxf.endpoint.Endpoint

getBinding

public org.apache.cxf.binding.Binding getBinding()
Specified by:
getBinding in interface org.apache.cxf.endpoint.Endpoint

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in interface org.apache.cxf.endpoint.Endpoint

setExecutor

public void setExecutor(Executor e)
Specified by:
setExecutor in interface org.apache.cxf.endpoint.Endpoint

getBus

public org.apache.cxf.Bus getBus()

setBus

public void setBus(org.apache.cxf.Bus bus)

getInFaultObserver

public org.apache.cxf.transport.MessageObserver getInFaultObserver()
Specified by:
getInFaultObserver in interface org.apache.cxf.endpoint.Endpoint

getOutFaultObserver

public org.apache.cxf.transport.MessageObserver getOutFaultObserver()
Specified by:
getOutFaultObserver in interface org.apache.cxf.endpoint.Endpoint

setInFaultObserver

public void setInFaultObserver(org.apache.cxf.transport.MessageObserver observer)
Specified by:
setInFaultObserver in interface org.apache.cxf.endpoint.Endpoint

setOutFaultObserver

public void setOutFaultObserver(org.apache.cxf.transport.MessageObserver observer)
Specified by:
setOutFaultObserver in interface org.apache.cxf.endpoint.Endpoint

setProperties

public void setProperties(Map<String,Object> properties)
Utility method to make it easy to set properties from Spring.

Parameters:
properties -

getActiveFeatures

public List<org.apache.cxf.feature.AbstractFeature> getActiveFeatures()
Specified by:
getActiveFeatures in interface org.apache.cxf.endpoint.Endpoint
Returns:
the list of fearures already activated for this endpoint.

initializeActiveFeatures

public void initializeActiveFeatures(List<org.apache.cxf.feature.AbstractFeature> features)
Parameters:
the - list of fearures already activated for this endpoint.

hashCode

public int hashCode()
Returns the hashCode bsed on the EndpointInfo so that this object can be used as a map key.

Specified by:
hashCode in interface Map<String,Object>
Overrides:
hashCode in class org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider


Apache CXF