public class EndpointImpl extends Endpoint implements org.apache.cxf.interceptor.InterceptorProvider, org.apache.cxf.configuration.Configurable
| Modifier and Type | Field and Description |
|---|---|
static String |
CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY
This property controls whether the 'publishEndpoint' permission is checked
using only the AccessController (i.e.
|
static String |
CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY_WITH_SECURITY_MANAGER |
WSDL_PORT, WSDL_SERVICE| Constructor and Description |
|---|
EndpointImpl(org.apache.cxf.Bus bus,
Object implementor) |
EndpointImpl(org.apache.cxf.Bus b,
Object implementor,
JaxWsServerFactoryBean sf) |
EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri) |
EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri,
String wsdl) |
EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri,
String wsdl,
WebServiceFeature[] f) |
EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri,
WebServiceFeature[] features) |
EndpointImpl(Object implementor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkProperties() |
protected void |
checkPublishable()
|
protected void |
checkPublishPermission() |
protected void |
doPublish(String addr)
Performs the publication action by setting up a
Server
instance based on this endpoint's configuration. |
String |
getAddress() |
String |
getBeanName() |
Binding |
getBinding() |
org.apache.cxf.binding.BindingConfiguration |
getBindingConfig() |
String |
getBindingUri() |
org.apache.cxf.Bus |
getBus() |
org.apache.cxf.databinding.DataBinding |
getDataBinding() |
QName |
getEndpointName() |
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz,
Element... referenceParameters) |
EndpointReference |
getEndpointReference(Element... referenceParameters) |
Executor |
getExecutor() |
List<org.apache.cxf.feature.Feature> |
getFeatures() |
List<Handler> |
getHandlers() |
Object |
getImplementor() |
Class<?> |
getImplementorClass()
Gets the class of the implementor.
|
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInFaultInterceptors() |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInInterceptors() |
org.apache.cxf.service.invoker.Invoker |
getInvoker() |
List<Source> |
getMetadata() |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutFaultInterceptors() |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutInterceptors() |
Map<String,Object> |
getProperties() |
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.
|
List<String> |
getSchemaLocations() |
org.apache.cxf.endpoint.ServerImpl |
getServer() |
org.apache.cxf.endpoint.ServerImpl |
getServer(String addr) |
JaxWsServerFactoryBean |
getServerFactory() |
org.apache.cxf.service.Service |
getService() |
JaxWsServiceFactoryBean |
getServiceFactory() |
QName |
getServiceName() |
String |
getTransportId() |
String |
getWsdlLocation() |
boolean |
isPublished() |
void |
publish() |
void |
publish(Object arg0)
This implementation performs no action except to check the publish permission.
|
void |
publish(String addr) |
void |
setAddress(String address) |
void |
setBindingConfig(org.apache.cxf.binding.BindingConfiguration config) |
void |
setBindingUri(String binding) |
void |
setBus(org.apache.cxf.Bus b) |
void |
setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding) |
void |
setEndpointName(QName endpointName) |
void |
setExecutor(Executor executor) |
void |
setFeatures(List<? extends org.apache.cxf.feature.Feature> features) |
void |
setHandlers(List<Handler> h) |
void |
setImplementorClass(Class<?> implementorClass) |
void |
setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors) |
void |
setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors) |
void |
setInvoker(org.apache.cxf.service.invoker.Invoker invoker) |
void |
setMetadata(List<Source> metadata) |
void |
setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors) |
void |
setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors) |
void |
setProperties(Map<String,Object> properties) |
void |
setPublishedEndpointUrl(String publishedEndpointUrl) |
void |
setSchemaLocations(List<String> schemaLocations) |
protected void |
setServerFactory(JaxWsServerFactoryBean bean) |
void |
setServiceFactory(JaxWsServiceFactoryBean sf) |
void |
setServiceName(QName serviceName) |
void |
setTransportId(String transportId) |
void |
setWsdlLocation(String wsdlLocation) |
void |
stop() |
public static final String CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY
public static final String CHECK_PUBLISH_ENDPOINT_PERMISSON_PROPERTY_WITH_SECURITY_MANAGER
public EndpointImpl(Object implementor)
public EndpointImpl(org.apache.cxf.Bus b,
Object implementor,
JaxWsServerFactoryBean sf)
public EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri,
String wsdl)
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.public EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri,
String wsdl,
WebServiceFeature[] f)
public EndpointImpl(org.apache.cxf.Bus b,
Object i,
String bindingUri,
WebServiceFeature[] features)
public EndpointImpl(org.apache.cxf.Bus bus,
Object implementor)
public void setBus(org.apache.cxf.Bus b)
public org.apache.cxf.Bus getBus()
public Binding getBinding()
getBinding in class Endpointpublic void setExecutor(Executor executor)
setExecutor in class Endpointpublic Executor getExecutor()
getExecutor in class Endpointpublic org.apache.cxf.service.Service getService()
public JaxWsServiceFactoryBean getServiceFactory()
public Object getImplementor()
getImplementor in class Endpointpublic Class<?> getImplementorClass()
public List<Source> getMetadata()
getMetadata in class Endpointpublic Map<String,Object> getProperties()
getProperties in class Endpointpublic boolean isPublished()
isPublished in class Endpointpublic void publish(Object arg0)
public void setServiceFactory(JaxWsServiceFactoryBean sf)
public void setMetadata(List<Source> metadata)
setMetadata in class Endpointpublic void setProperties(Map<String,Object> properties)
setProperties in class Endpointpublic String getBeanName()
getBeanName in interface org.apache.cxf.configuration.Configurablepublic JaxWsServerFactoryBean getServerFactory()
protected void setServerFactory(JaxWsServerFactoryBean bean)
protected void checkProperties()
protected void doPublish(String addr)
Server
instance based on this endpoint's configuration.addr - the optional endpoint address.IllegalStateException - if the endpoint cannot be published/republishedSecurityException - if permission checking is enabled and policy forbids publishingWebServiceException - if there is an error publishing the endpointcheckPublishPermission(),
checkPublishable(),
getServer(String)public org.apache.cxf.endpoint.ServerImpl getServer()
public org.apache.cxf.endpoint.ServerImpl getServer(String addr)
protected void checkPublishPermission()
protected void checkPublishable()
IllegalStateException - if publishable is falsepublic void publish()
public String getAddress()
public void setAddress(String address)
public String getPublishedEndpointUrl()
public void setPublishedEndpointUrl(String publishedEndpointUrl)
public QName getEndpointName()
public void setEndpointName(QName endpointName)
public QName getServiceName()
public void setServiceName(QName serviceName)
public String getWsdlLocation()
public void setWsdlLocation(String wsdlLocation)
public void setBindingUri(String binding)
public String getBindingUri()
public void setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
public org.apache.cxf.databinding.DataBinding getDataBinding()
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
getOutFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
getInFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
getInInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
getOutInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public List<org.apache.cxf.feature.Feature> getFeatures()
public void setFeatures(List<? extends org.apache.cxf.feature.Feature> features)
public org.apache.cxf.service.invoker.Invoker getInvoker()
public void setInvoker(org.apache.cxf.service.invoker.Invoker invoker)
public void setImplementorClass(Class<?> implementorClass)
public void setTransportId(String transportId)
public String getTransportId()
public void setBindingConfig(org.apache.cxf.binding.BindingConfiguration config)
public org.apache.cxf.binding.BindingConfiguration getBindingConfig()
public EndpointReference getEndpointReference(Element... referenceParameters)
getEndpointReference in class Endpointpublic <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
getEndpointReference in class EndpointApache CXF