org.apache.cxf.jaxws
Class EndpointImpl

java.lang.Object
  extended by javax.xml.ws.Endpoint
      extended by org.apache.cxf.jaxws.EndpointImpl
All Implemented Interfaces:
Configurable, InterceptorProvider
Direct Known Subclasses:
EndpointDefinitionParser.SpringEndpointImpl

public class EndpointImpl
extends javax.xml.ws.Endpoint
implements InterceptorProvider, Configurable


Field Summary
static java.lang.String CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY
          This property controls whether the 'publishEndpoint' permission is checked using only the AccessController (i.e.
 
Fields inherited from class javax.xml.ws.Endpoint
WSDL_PORT, WSDL_SERVICE
 
Constructor Summary
EndpointImpl(Bus bus, java.lang.Object implementor)
           
EndpointImpl(Bus b, java.lang.Object implementor, JaxWsServerFactoryBean sf)
           
EndpointImpl(Bus b, java.lang.Object i, java.lang.String bindingUri)
           
EndpointImpl(Bus b, java.lang.Object i, java.lang.String bindingUri, java.lang.String wsdl)
           
EndpointImpl(java.lang.Object implementor)
           
 
Method Summary
protected  void checkProperties()
           
protected  void checkPublishPermission()
           
protected  void doPublish(java.lang.String addr)
           
 java.lang.String getAddress()
           
 java.lang.String getBeanName()
          Get the configurable object's Bean name
 javax.xml.ws.Binding getBinding()
           
 BindingConfiguration getBindingConfig()
           
 java.lang.String getBindingUri()
           
 Bus getBus()
           
 DataBinding getDataBinding()
           
 javax.xml.namespace.QName getEndpointName()
           
 java.util.concurrent.Executor getExecutor()
           
 java.util.List<AbstractFeature> getFeatures()
           
 java.util.List<javax.xml.ws.handler.Handler> getHandlers()
           
 java.lang.Object getImplementor()
           
 java.lang.Class getImplementorClass()
          Gets the class of the implementor.
 java.util.List<Interceptor> getInFaultInterceptors()
          Returns the list of interceptors attached to the incoming fault interceptor chain of the object.
 java.util.List<Interceptor> getInInterceptors()
          Returns the list of interceptors attached to the incoming interceptor chain of the object.
 Invoker getInvoker()
           
 java.util.List<javax.xml.transform.Source> getMetadata()
           
 java.util.List<Interceptor> getOutFaultInterceptors()
          Returns the list of interceptors attached to the outgoing fault interceptor chain of the object.
 java.util.List<Interceptor> getOutInterceptors()
          Returns the list of interceptors attached to the outgoing interceptor chain of the object.
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
           
 java.lang.String getPublishedEndpointUrl()
          The published endpoint url is used for excplicitely specifying the url of the endpoint that would show up the generated wsdl definition, when the service is brought on line.
 java.util.List<java.lang.String> getSchemaLocations()
           
 ServerImpl getServer()
           
 ServerImpl getServer(java.lang.String addr)
           
 Service getService()
           
 JaxWsServiceFactoryBean getServiceFactory()
           
 javax.xml.namespace.QName getServiceName()
           
 java.lang.String getTransportId()
           
 java.lang.String getWsdlLocation()
           
 boolean isPublished()
           
 void publish()
           
 void publish(java.lang.Object arg0)
           
 void publish(java.lang.String addr)
           
 void setAddress(java.lang.String address)
           
 void setBindingConfig(BindingConfiguration config)
           
 void setBindingUri(java.lang.String binding)
           
 void setBus(Bus b)
           
 void setDataBinding(DataBinding dataBinding)
           
 void setEndpointName(javax.xml.namespace.QName endpointName)
           
 void setExecutor(java.util.concurrent.Executor executor)
           
 void setFeatures(java.util.List<AbstractFeature> features)
           
 void setHandlers(java.util.List<javax.xml.ws.handler.Handler> h)
           
 void setImplementorClass(java.lang.Class implementorClass)
           
 void setInFaultInterceptors(java.util.List<Interceptor> interceptors)
           
 void setInInterceptors(java.util.List<Interceptor> interceptors)
           
 void setInvoker(Invoker invoker)
           
 void setMetadata(java.util.List<javax.xml.transform.Source> metadata)
           
 void setOutFaultInterceptors(java.util.List<Interceptor> interceptors)
           
 void setOutInterceptors(java.util.List<Interceptor> interceptors)
           
 void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
           
 void setPublishedEndpointUrl(java.lang.String publishedEndpointUrl)
           
 void setSchemaLocations(java.util.List<java.lang.String> schemaLocations)
           
 void setServiceFactory(JaxWsServiceFactoryBean sf)
           
 void setServiceName(javax.xml.namespace.QName serviceName)
           
 void setTransportId(java.lang.String transportId)
           
 void setWsdlLocation(java.lang.String wsdlLocation)
           
 void stop()
           
 
Methods inherited from class javax.xml.ws.Endpoint
create, create, getEndpointReference, getEndpointReference, publish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY

public static final java.lang.String CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY
This property controls whether the 'publishEndpoint' permission is checked using only the AccessController (i.e. when SecurityManager is not installed). By default this check is not done as the system property is not set.

See Also:
Constant Field Values
Constructor Detail

EndpointImpl

public EndpointImpl(java.lang.Object implementor)

EndpointImpl

public EndpointImpl(Bus b,
                    java.lang.Object implementor,
                    JaxWsServerFactoryBean sf)

EndpointImpl

public EndpointImpl(Bus b,
                    java.lang.Object i,
                    java.lang.String bindingUri,
                    java.lang.String wsdl)
Parameters:
b -
i - The implementor object.
bindingUri - The URI of the Binding being used. Optional.
wsdl - The URL of the WSDL for the service, if different than the URL specified on the WebService annotation. Optional.

EndpointImpl

public EndpointImpl(Bus b,
                    java.lang.Object i,
                    java.lang.String bindingUri)

EndpointImpl

public EndpointImpl(Bus bus,
                    java.lang.Object implementor)
Method Detail

setBus

public void setBus(Bus b)

getBus

public Bus getBus()

getBinding

public javax.xml.ws.Binding getBinding()
Specified by:
getBinding in class javax.xml.ws.Endpoint

setExecutor

public void setExecutor(java.util.concurrent.Executor executor)
Specified by:
setExecutor in class javax.xml.ws.Endpoint

getExecutor

public java.util.concurrent.Executor getExecutor()
Specified by:
getExecutor in class javax.xml.ws.Endpoint

getService

public Service getService()

getServiceFactory

public JaxWsServiceFactoryBean getServiceFactory()

getImplementor

public java.lang.Object getImplementor()
Specified by:
getImplementor in class javax.xml.ws.Endpoint

getImplementorClass

public java.lang.Class getImplementorClass()
Gets the class of the implementor.

Returns:
the class of the implementor object

getMetadata

public java.util.List<javax.xml.transform.Source> getMetadata()
Specified by:
getMetadata in class javax.xml.ws.Endpoint

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Specified by:
getProperties in class javax.xml.ws.Endpoint

isPublished

public boolean isPublished()
Specified by:
isPublished in class javax.xml.ws.Endpoint

publish

public void publish(java.lang.Object arg0)
Specified by:
publish in class javax.xml.ws.Endpoint

publish

public void publish(java.lang.String addr)
Specified by:
publish in class javax.xml.ws.Endpoint

setServiceFactory

public void setServiceFactory(JaxWsServiceFactoryBean sf)

setMetadata

public void setMetadata(java.util.List<javax.xml.transform.Source> metadata)
Specified by:
setMetadata in class javax.xml.ws.Endpoint

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Specified by:
setProperties in class javax.xml.ws.Endpoint

stop

public void stop()
Specified by:
stop in class javax.xml.ws.Endpoint

getBeanName

public java.lang.String getBeanName()
Description copied from interface: Configurable
Get the configurable object's Bean name

Specified by:
getBeanName in interface Configurable
Returns:
the bean name

checkProperties

protected void checkProperties()

doPublish

protected void doPublish(java.lang.String addr)

getServer

public ServerImpl getServer()

getServer

public ServerImpl getServer(java.lang.String addr)

checkPublishPermission

protected void checkPublishPermission()

publish

public void publish()

getAddress

public java.lang.String getAddress()

setAddress

public void setAddress(java.lang.String address)

getPublishedEndpointUrl

public java.lang.String getPublishedEndpointUrl()
The published endpoint url is used for excplicitely specifying the url of the endpoint that would show up the generated wsdl definition, when the service is brought on line.

Returns:

setPublishedEndpointUrl

public void setPublishedEndpointUrl(java.lang.String publishedEndpointUrl)

getEndpointName

public javax.xml.namespace.QName getEndpointName()

setEndpointName

public void setEndpointName(javax.xml.namespace.QName endpointName)

getServiceName

public javax.xml.namespace.QName getServiceName()

setServiceName

public void setServiceName(javax.xml.namespace.QName serviceName)

getWsdlLocation

public java.lang.String getWsdlLocation()

setWsdlLocation

public void setWsdlLocation(java.lang.String wsdlLocation)

setBindingUri

public void setBindingUri(java.lang.String binding)

getBindingUri

public java.lang.String getBindingUri()

setDataBinding

public void setDataBinding(DataBinding dataBinding)

getDataBinding

public DataBinding getDataBinding()

getOutFaultInterceptors

public java.util.List<Interceptor> getOutFaultInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the outgoing fault interceptor chain of the object.

Specified by:
getOutFaultInterceptors in interface InterceptorProvider
Returns:
List outgoing fault interceptor chain

getInFaultInterceptors

public java.util.List<Interceptor> getInFaultInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the incoming fault interceptor chain of the object.

Specified by:
getInFaultInterceptors in interface InterceptorProvider
Returns:
List incoming fault interceptor chain

getInInterceptors

public java.util.List<Interceptor> getInInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the incoming interceptor chain of the object.

Specified by:
getInInterceptors in interface InterceptorProvider
Returns:
List incoming interceptor chain

getOutInterceptors

public java.util.List<Interceptor> getOutInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the outgoing interceptor chain of the object.

Specified by:
getOutInterceptors in interface InterceptorProvider
Returns:
List outgoing interceptor chain

setInInterceptors

public void setInInterceptors(java.util.List<Interceptor> interceptors)

setInFaultInterceptors

public void setInFaultInterceptors(java.util.List<Interceptor> interceptors)

setOutInterceptors

public void setOutInterceptors(java.util.List<Interceptor> interceptors)

setOutFaultInterceptors

public void setOutFaultInterceptors(java.util.List<Interceptor> interceptors)

setHandlers

public void setHandlers(java.util.List<javax.xml.ws.handler.Handler> h)

getHandlers

public java.util.List<javax.xml.ws.handler.Handler> getHandlers()

getFeatures

public java.util.List<AbstractFeature> getFeatures()

setFeatures

public void setFeatures(java.util.List<AbstractFeature> features)

getInvoker

public Invoker getInvoker()

setInvoker

public void setInvoker(Invoker invoker)

setImplementorClass

public void setImplementorClass(java.lang.Class implementorClass)

setTransportId

public void setTransportId(java.lang.String transportId)

getTransportId

public java.lang.String getTransportId()

setBindingConfig

public void setBindingConfig(BindingConfiguration config)

getBindingConfig

public BindingConfiguration getBindingConfig()

getSchemaLocations

public java.util.List<java.lang.String> getSchemaLocations()

setSchemaLocations

public void setSchemaLocations(java.util.List<java.lang.String> schemaLocations)


Apache CXF