Apache CXF API

org.apache.cxf.jaxws.spi
Class ProviderImpl

java.lang.Object
  extended by javax.xml.ws.spi.Provider
      extended by org.apache.cxf.jaxws.spi.ProviderImpl
Direct Known Subclasses:
ProviderImpl

public class ProviderImpl
extends Provider


Field Summary
static String JAXWS_PROVIDER
           
protected static Logger LOG
           
 
Fields inherited from class javax.xml.ws.spi.Provider
JAXWSPROVIDER_PROPERTY
 
Constructor Summary
ProviderImpl()
           
 
Method Summary
static EndpointReferenceType convertToInternal(EndpointReference external)
          Convert from EndpointReference to CXF internal 2005/08 EndpointReferenceType
 Endpoint createAndPublishEndpoint(String url, Object implementor)
           
 Endpoint createAndPublishEndpoint(String address, Object implementor, WebServiceFeature... features)
           
 Endpoint createEndpoint(String bindingId, Object implementor)
           
 Endpoint createEndpoint(String bindingId, Object implementor, WebServiceFeature... features)
           
protected  EndpointImpl createEndpointImpl(Bus bus, String bindingId, Object implementor, WebServiceFeature... features)
           
 ServiceDelegate createServiceDelegate(URL url, QName qname, Class cls)
           
 ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class serviceClass, WebServiceFeature... features)
           
 W3CEndpointReference createW3CEndpointReference(String address, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters)
           
 W3CEndpointReference createW3CEndpointReference(String address, QName interfaceName, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters, List<Element> elements, Map<QName,String> attributes)
           
<T> T
getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
static boolean isJaxWs22()
           
 EndpointReference readEndpointReference(Source eprInfoset)
           
 
Methods inherited from class javax.xml.ws.spi.Provider
provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXWS_PROVIDER

public static final String JAXWS_PROVIDER

LOG

protected static final Logger LOG
Constructor Detail

ProviderImpl

public ProviderImpl()
Method Detail

isJaxWs22

public static boolean isJaxWs22()

createServiceDelegate

public ServiceDelegate createServiceDelegate(URL url,
                                             QName qname,
                                             Class cls)
Specified by:
createServiceDelegate in class Provider

createServiceDelegate

public ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation,
                                             QName serviceName,
                                             Class serviceClass,
                                             WebServiceFeature... features)

createEndpointImpl

protected EndpointImpl createEndpointImpl(Bus bus,
                                          String bindingId,
                                          Object implementor,
                                          WebServiceFeature... features)

createEndpoint

public Endpoint createEndpoint(String bindingId,
                               Object implementor)
Specified by:
createEndpoint in class Provider

createEndpoint

public Endpoint createEndpoint(String bindingId,
                               Object implementor,
                               WebServiceFeature... features)

createAndPublishEndpoint

public Endpoint createAndPublishEndpoint(String url,
                                         Object implementor)
Specified by:
createAndPublishEndpoint in class Provider

createAndPublishEndpoint

public Endpoint createAndPublishEndpoint(String address,
                                         Object implementor,
                                         WebServiceFeature... features)

createW3CEndpointReference

public W3CEndpointReference createW3CEndpointReference(String address,
                                                       QName serviceName,
                                                       QName portName,
                                                       List<Element> metadata,
                                                       String wsdlDocumentLocation,
                                                       List<Element> referenceParameters)
Specified by:
createW3CEndpointReference in class Provider

convertToInternal

public static EndpointReferenceType convertToInternal(EndpointReference external)
Convert from EndpointReference to CXF internal 2005/08 EndpointReferenceType

Parameters:
external - the javax.xml.ws.EndpointReference
Returns:
CXF internal 2005/08 EndpointReferenceType

createW3CEndpointReference

public W3CEndpointReference createW3CEndpointReference(String address,
                                                       QName interfaceName,
                                                       QName serviceName,
                                                       QName portName,
                                                       List<Element> metadata,
                                                       String wsdlDocumentLocation,
                                                       List<Element> referenceParameters,
                                                       List<Element> elements,
                                                       Map<QName,String> attributes)

getPort

public <T> T getPort(EndpointReference endpointReference,
                     Class<T> serviceEndpointInterface,
                     WebServiceFeature... features)
Specified by:
getPort in class Provider

readEndpointReference

public EndpointReference readEndpointReference(Source eprInfoset)
Specified by:
readEndpointReference in class Provider

Apache CXF API

Apache CXF