javax.xml.ws
Class Service

java.lang.Object
  extended by javax.xml.ws.Service

public class Service
extends java.lang.Object


Nested Class Summary
static class Service.Mode
           
 
Constructor Summary
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName)
           
 
Method Summary
 void addPort(QName portName, java.lang.String bindingId, java.lang.String endpointAddress)
           
static Service create(QName serviceName)
           
static Service create(java.net.URL wsdlDocumentLocation, QName serviceName)
           
<T> Dispatch<T>
createDispatch(EndpointReference endpointReference, java.lang.Class<T> type, Service.Mode mode, WebServiceFeature... features)
           
 Dispatch<java.lang.Object> createDispatch(EndpointReference endpointReference, javax.xml.bind.JAXBContext context, Service.Mode mode, WebServiceFeature... features)
           
<T> Dispatch<T>
createDispatch(QName portName, java.lang.Class<T> type, Service.Mode mode)
           
<T> Dispatch<T>
createDispatch(QName portName, java.lang.Class<T> type, Service.Mode mode, WebServiceFeature... features)
           
 Dispatch<java.lang.Object> createDispatch(QName portName, javax.xml.bind.JAXBContext context, Service.Mode mode)
           
 Dispatch<java.lang.Object> createDispatch(QName portName, javax.xml.bind.JAXBContext context, Service.Mode mode, WebServiceFeature... features)
           
 java.util.concurrent.Executor getExecutor()
           
 HandlerResolver getHandlerResolver()
           
<T> T
getPort(java.lang.Class<T> serviceEndpointInterface)
           
<T> T
getPort(java.lang.Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
<T> T
getPort(EndpointReference endpointReference, java.lang.Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
<T> T
getPort(QName portName, java.lang.Class<T> serviceEndpointInterface)
           
<T> T
getPort(QName portName, java.lang.Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
 java.util.Iterator<QName> getPorts()
           
 QName getServiceName()
           
 java.net.URL getWSDLDocumentLocation()
           
 void setExecutor(java.util.concurrent.Executor executor)
           
 void setHandlerResolver(HandlerResolver handlerResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

protected Service(java.net.URL wsdlDocumentLocation,
                  QName serviceName)
Method Detail

getPort

public <T> T getPort(QName portName,
                     java.lang.Class<T> serviceEndpointInterface)

getPort

public <T> T getPort(java.lang.Class<T> serviceEndpointInterface)

getPort

public <T> T getPort(QName portName,
                     java.lang.Class<T> serviceEndpointInterface,
                     WebServiceFeature... features)

getPort

public <T> T getPort(java.lang.Class<T> serviceEndpointInterface,
                     WebServiceFeature... features)

getPort

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

addPort

public void addPort(QName portName,
                    java.lang.String bindingId,
                    java.lang.String endpointAddress)

createDispatch

public <T> Dispatch<T> createDispatch(QName portName,
                                      java.lang.Class<T> type,
                                      Service.Mode mode)

createDispatch

public Dispatch<java.lang.Object> createDispatch(QName portName,
                                                 javax.xml.bind.JAXBContext context,
                                                 Service.Mode mode)

createDispatch

public <T> Dispatch<T> createDispatch(QName portName,
                                      java.lang.Class<T> type,
                                      Service.Mode mode,
                                      WebServiceFeature... features)

createDispatch

public <T> Dispatch<T> createDispatch(EndpointReference endpointReference,
                                      java.lang.Class<T> type,
                                      Service.Mode mode,
                                      WebServiceFeature... features)

createDispatch

public Dispatch<java.lang.Object> createDispatch(QName portName,
                                                 javax.xml.bind.JAXBContext context,
                                                 Service.Mode mode,
                                                 WebServiceFeature... features)

createDispatch

public Dispatch<java.lang.Object> createDispatch(EndpointReference endpointReference,
                                                 javax.xml.bind.JAXBContext context,
                                                 Service.Mode mode,
                                                 WebServiceFeature... features)

getServiceName

public QName getServiceName()

getPorts

public java.util.Iterator<QName> getPorts()

getWSDLDocumentLocation

public java.net.URL getWSDLDocumentLocation()

getHandlerResolver

public HandlerResolver getHandlerResolver()

setHandlerResolver

public void setHandlerResolver(HandlerResolver handlerResolver)

getExecutor

public java.util.concurrent.Executor getExecutor()

setExecutor

public void setExecutor(java.util.concurrent.Executor executor)

create

public static Service create(java.net.URL wsdlDocumentLocation,
                             QName serviceName)

create

public static Service create(QName serviceName)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.