javax.xml.ws.spi
Class Provider

java.lang.Object
  extended by javax.xml.ws.spi.Provider

public abstract class Provider
extends Object


Field Summary
static String JAXWSPROVIDER_PROPERTY
           
 
Constructor Summary
protected Provider()
           
 
Method Summary
abstract  Endpoint createAndPublishEndpoint(String s, Object obj)
          Creates and publishes an Endpoint object with the specified address and implementation object.
 Endpoint createAndPublishEndpoint(String address, Object obj, WebServiceFeature... features)
          Creates and publishes an Endpoint object with the specified address, implementation object and web service features.
 Endpoint createEndpoint(String bindingId, Class<?> cls, Invoker invoker, WebServiceFeature... features)
          Creates an Endpoint object with the provided bindingId, implementation class, invoker, and web service features.
abstract  Endpoint createEndpoint(String bindingId, Object obj)
          Creates an Endpoint object with the provided bindingId and implementation object.
 Endpoint createEndpoint(String bindingId, Object obj, WebServiceFeature... features)
          Creates an Endpoint object with the provided bindingId, implementation object, and web service features.
abstract  ServiceDelegate createServiceDelegate(URL url, QName qname, Class<? extends Service> class1)
          Creates a service delegate object for the URL and service Qname
 ServiceDelegate createServiceDelegate(URL url, QName qname, Class<? extends Service> cls, WebServiceFeature... features)
          Creates a service delegate object for the URL, service Qname, and web service features.
abstract  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 wsdlLocation, List<Element> referenceParameters, List<Element> elements, Map<QName,String> attributes)
           
abstract
<T> T
getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
static Provider provider()
           
abstract  EndpointReference readEndpointReference(Source eprInfoset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXWSPROVIDER_PROPERTY

public static final String JAXWSPROVIDER_PROPERTY
See Also:
Constant Field Values
Constructor Detail

Provider

protected Provider()
Method Detail

provider

public static Provider provider()

createServiceDelegate

public abstract ServiceDelegate createServiceDelegate(URL url,
                                                      QName qname,
                                                      Class<? extends Service> class1)
Creates a service delegate object for the URL and service Qname


createServiceDelegate

public ServiceDelegate createServiceDelegate(URL url,
                                             QName qname,
                                             Class<? extends Service> cls,
                                             WebServiceFeature... features)
Creates a service delegate object for the URL, service Qname, and web service features.

Since:
2.2

createEndpoint

public abstract Endpoint createEndpoint(String bindingId,
                                        Object obj)
Creates an Endpoint object with the provided bindingId and implementation object.


createEndpoint

public Endpoint createEndpoint(String bindingId,
                               Class<?> cls,
                               Invoker invoker,
                               WebServiceFeature... features)
Creates an Endpoint object with the provided bindingId, implementation class, invoker, and web service features.

Since:
2.2

createEndpoint

public Endpoint createEndpoint(String bindingId,
                               Object obj,
                               WebServiceFeature... features)
Creates an Endpoint object with the provided bindingId, implementation object, and web service features.

Since:
2.2

createAndPublishEndpoint

public abstract Endpoint createAndPublishEndpoint(String s,
                                                  Object obj)
Creates and publishes an Endpoint object with the specified address and implementation object.


createAndPublishEndpoint

public Endpoint createAndPublishEndpoint(String address,
                                         Object obj,
                                         WebServiceFeature... features)
Creates and publishes an Endpoint object with the specified address, implementation object and web service features.

Since:
2.2

readEndpointReference

public abstract EndpointReference readEndpointReference(Source eprInfoset)

getPort

public abstract <T> T getPort(EndpointReference endpointReference,
                              Class<T> serviceEndpointInterface,
                              WebServiceFeature... features)

createW3CEndpointReference

public abstract W3CEndpointReference createW3CEndpointReference(String address,
                                                                QName serviceName,
                                                                QName portName,
                                                                List<Element> metadata,
                                                                String wsdlDocumentLocation,
                                                                List<Element> referenceParameters)

createW3CEndpointReference

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


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.