public class ProviderImpl
extends org.apache.cxf.jaxws22.spi.ProviderImpl
JAXWSPROVIDER_PROPERTY
Constructor and Description |
---|
ProviderImpl() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
createEndpoint(String bindingId,
Class<?> implementorClass,
Invoker invoker,
WebServiceFeature... features)
Creates an endpoint object with the provided binding, implementation
class, invoker and web service features.
|
Endpoint |
createEndpoint(String bindingId,
Object implementor)
Creates an endpoint object with the provided binding and implementation
object.
|
Endpoint |
createEndpoint(String bindingId,
Object implementor,
WebServiceFeature... features)
Creates an endpoint object with the provided binding, implementation
object and web service features.
|
protected org.apache.cxf.jaxws.EndpointImpl |
createEndpointImpl(Bus bus,
String bindingId,
Object implementor,
WebServiceFeature... features) |
ServiceDelegate |
createServiceDelegate(URL url,
QName qname,
Class cls)
Creates a service delegate object.
|
ServiceDelegate |
createServiceDelegate(URL wsdlDocumentLocation,
QName serviceName,
Class serviceClass,
WebServiceFeature... features)
Creates a service delegate object.
|
protected org.apache.cxf.jaxws.EndpointImpl createEndpointImpl(Bus bus, String bindingId, Object implementor, WebServiceFeature... features)
createEndpointImpl
in class org.apache.cxf.jaxws.spi.ProviderImpl
public Endpoint createEndpoint(String bindingId, Object implementor)
Provider
createEndpoint
in class org.apache.cxf.jaxws.spi.ProviderImpl
bindingId
- A URI specifying the desired binding (e.g. SOAP/HTTP)implementor
- A service implementation object to which
incoming requests will be dispatched. The corresponding
class MUST be annotated with all the necessary Web service
annotations.public Endpoint createEndpoint(String bindingId, Object implementor, WebServiceFeature... features)
Provider
Provider
implementations
must override the default implementation.createEndpoint
in class org.apache.cxf.jaxws.spi.ProviderImpl
bindingId
- A URI specifying the desired binding (e.g. SOAP/HTTP)implementor
- A service implementation object to which
incoming requests will be dispatched. The corresponding
class MUST be annotated with all the necessary Web service
annotations.features
- A list of WebServiceFeatures to configure on the
endpoint. Supported features not in the features
parameter will have their default values.public Endpoint createEndpoint(String bindingId, Class<?> implementorClass, Invoker invoker, WebServiceFeature... features)
Provider
Provider
implementations must override the default implementation.createEndpoint
in class org.apache.cxf.jaxws.spi.ProviderImpl
bindingId
- A URI specifying the desired binding (e.g. SOAP/HTTP).
Can be null.implementorClass
- A service implementation class that
MUST be annotated with all the necessary Web service
annotations.invoker
- that does the actual invocation on the service instance.features
- A list of WebServiceFeatures to configure on the
endpoint. Supported features not in the features
parameter will have their default values.public ServiceDelegate createServiceDelegate(URL url, QName qname, Class cls)
Provider
createServiceDelegate
in class org.apache.cxf.jaxws.spi.ProviderImpl
url
- A URL pointing to the WSDL document
for the service, or null
if there isn't one.qname
- The qualified name of the service.cls
- The service class, which MUST be either
javax.xml.ws.Service
or a subclass thereof.public ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class serviceClass, WebServiceFeature... features)
Provider
createServiceDelegate
in class org.apache.cxf.jaxws.spi.ProviderImpl
wsdlDocumentLocation
- A URL pointing to the WSDL document
for the service, or null
if there isn't one.serviceName
- The qualified name of the service.serviceClass
- The service class, which MUST be either
javax.xml.ws.Service
or a subclass thereof.features
- Web Service features that must be configured on
the service. If the provider doesn't understand a feature,
it must throw a WebServiceException.Copyright © 2017 JBoss by Red Hat. All rights reserved.