org.apache.cxf.jaxws
Class EndpointImpl
java.lang.Object
javax.xml.ws.Endpoint
org.apache.cxf.jaxws.EndpointImpl
- All Implemented Interfaces:
- org.apache.cxf.configuration.Configurable, org.apache.cxf.interceptor.InterceptorProvider
- Direct Known Subclasses:
- EndpointDefinitionParser.SpringEndpointImpl
public class EndpointImpl
- extends javax.xml.ws.Endpoint
- implements org.apache.cxf.interceptor.InterceptorProvider, org.apache.cxf.configuration.Configurable
| Fields inherited from class javax.xml.ws.Endpoint |
WSDL_PORT, WSDL_SERVICE |
|
Constructor Summary |
EndpointImpl(org.apache.cxf.Bus bus,
java.lang.Object implementor)
|
EndpointImpl(org.apache.cxf.Bus b,
java.lang.Object implementor,
JaxWsServerFactoryBean sf)
|
EndpointImpl(org.apache.cxf.Bus b,
java.lang.Object i,
java.lang.String bindingUri)
|
EndpointImpl(org.apache.cxf.Bus b,
java.lang.Object i,
java.lang.String bindingUri,
java.lang.String wsdl)
|
EndpointImpl(java.lang.Object implementor)
|
| Methods inherited from class javax.xml.ws.Endpoint |
create, create, publish |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
EndpointImpl
public EndpointImpl(java.lang.Object implementor)
EndpointImpl
public EndpointImpl(org.apache.cxf.Bus b,
java.lang.Object implementor,
JaxWsServerFactoryBean sf)
EndpointImpl
public EndpointImpl(org.apache.cxf.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(org.apache.cxf.Bus b,
java.lang.Object i,
java.lang.String bindingUri)
EndpointImpl
public EndpointImpl(org.apache.cxf.Bus bus,
java.lang.Object implementor)
setBus
public void setBus(org.apache.cxf.Bus b)
getBus
public org.apache.cxf.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 org.apache.cxf.service.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()
- Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable
checkProperties
protected void checkProperties()
doPublish
protected void doPublish(java.lang.String addr)
getServer
public org.apache.cxf.endpoint.ServerImpl getServer()
getServer
public org.apache.cxf.endpoint.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()
getOutFaultInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getOutFaultInterceptors()
- Specified by:
getOutFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getInFaultInterceptors()
- Specified by:
getInFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProvider
getInInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getInInterceptors()
- Specified by:
getInInterceptors in interface org.apache.cxf.interceptor.InterceptorProvider
getOutInterceptors
public java.util.List<org.apache.cxf.interceptor.Interceptor> getOutInterceptors()
- Specified by:
getOutInterceptors in interface org.apache.cxf.interceptor.InterceptorProvider
setInInterceptors
public void setInInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> interceptors)
setInFaultInterceptors
public void setInFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> interceptors)
setOutInterceptors
public void setOutInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor> interceptors)
setOutFaultInterceptors
public void setOutFaultInterceptors(java.util.List<org.apache.cxf.interceptor.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<org.apache.cxf.feature.AbstractFeature> getFeatures()
setFeatures
public void setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> features)
getInvoker
public org.apache.cxf.service.invoker.Invoker getInvoker()
setInvoker
public void setInvoker(org.apache.cxf.service.invoker.Invoker invoker)
setImplementorClass
public void setImplementorClass(java.lang.Class implementorClass)
setBindingConfig
public void setBindingConfig(org.apache.cxf.binding.BindingConfiguration config)
getBindingConfig
public org.apache.cxf.binding.BindingConfiguration getBindingConfig()
getSchemaLocations
public java.util.List<java.lang.String> getSchemaLocations()
setSchemaLocations
public void setSchemaLocations(java.util.List<java.lang.String> schemaLocations)
Apache CXF