Apache CXF API

org.apache.cxf.jaxws
Class ServiceImpl

java.lang.Object
  extended by javax.xml.ws.spi.ServiceDelegate
      extended by org.apache.cxf.jaxws.ServiceImpl

public class ServiceImpl
extends ServiceDelegate


Constructor Summary
ServiceImpl(Bus b, URL url, QName name, Class<?> cls, WebServiceFeature... f)
           
 
Method Summary
 void addPort(QName portName, String bindingId, String address)
           
<T> Dispatch<T>
createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features)
           
 Dispatch<Object> createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features)
           
<T> Dispatch<T>
createDispatch(QName portName, Class<T> type, JAXBContext context, Service.Mode mode, WebServiceFeature... features)
           
<T> Dispatch<T>
createDispatch(QName portName, Class<T> type, Service.Mode mode)
           
<T> Dispatch<T>
createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)
           
 Dispatch<Object> createDispatch(QName portName, JAXBContext context, Service.Mode mode)
           
 Dispatch<Object> createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)
           
protected
<T> T
createPort(QName portName, EndpointReferenceType epr, Class<T> serviceEndpointInterface)
           
protected
<T> T
createPort(QName portName, EndpointReferenceType epr, Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
 Bus getBus()
           
 Executor getExecutor()
           
 HandlerResolver getHandlerResolver()
           
<T> T
getPort(Class<T> serviceEndpointInterface)
           
<T> T
getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
<T> T
getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
<T> T
getPort(EndpointReferenceType endpointReference, Class<T> type)
           
<T> T
getPort(EndpointReferenceType endpointReference, Class<T> type, WebServiceFeature... features)
           
<T> T
getPort(QName portName, Class<T> serviceEndpointInterface)
           
<T> T
getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)
           
 Iterator<QName> getPorts()
           
 QName getServiceName()
           
 URL getWSDLDocumentLocation()
           
 void setExecutor(Executor e)
           
 void setHandlerResolver(HandlerResolver hr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceImpl

public ServiceImpl(Bus b,
                   URL url,
                   QName name,
                   Class<?> cls,
                   WebServiceFeature... f)
Method Detail

addPort

public final void addPort(QName portName,
                          String bindingId,
                          String address)
Specified by:
addPort in class ServiceDelegate

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in class ServiceDelegate

getHandlerResolver

public HandlerResolver getHandlerResolver()
Specified by:
getHandlerResolver in class ServiceDelegate

getPort

public <T> T getPort(Class<T> serviceEndpointInterface)
Specified by:
getPort in class ServiceDelegate

getPort

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

getPort

public <T> T getPort(QName portName,
                     Class<T> serviceEndpointInterface)
Specified by:
getPort in class ServiceDelegate

getPort

public <T> T getPort(QName portName,
                     Class<T> serviceEndpointInterface,
                     WebServiceFeature... features)
Specified by:
getPort in class ServiceDelegate

getPort

public <T> T getPort(EndpointReferenceType endpointReference,
                     Class<T> type)

getPort

public <T> T getPort(EndpointReferenceType endpointReference,
                     Class<T> type,
                     WebServiceFeature... features)

getPorts

public Iterator<QName> getPorts()
Specified by:
getPorts in class ServiceDelegate

getServiceName

public QName getServiceName()
Specified by:
getServiceName in class ServiceDelegate

getWSDLDocumentLocation

public URL getWSDLDocumentLocation()
Specified by:
getWSDLDocumentLocation in class ServiceDelegate

setExecutor

public void setExecutor(Executor e)
Specified by:
setExecutor in class ServiceDelegate

setHandlerResolver

public void setHandlerResolver(HandlerResolver hr)
Specified by:
setHandlerResolver in class ServiceDelegate

getBus

public Bus getBus()

createPort

protected <T> T createPort(QName portName,
                           EndpointReferenceType epr,
                           Class<T> serviceEndpointInterface)

createPort

protected <T> T createPort(QName portName,
                           EndpointReferenceType epr,
                           Class<T> serviceEndpointInterface,
                           WebServiceFeature... features)

createDispatch

public <T> Dispatch<T> createDispatch(QName portName,
                                      Class<T> type,
                                      Service.Mode mode)
Specified by:
createDispatch in class ServiceDelegate

createDispatch

public <T> Dispatch<T> createDispatch(QName portName,
                                      Class<T> type,
                                      Service.Mode mode,
                                      WebServiceFeature... features)
Specified by:
createDispatch in class ServiceDelegate

createDispatch

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

createDispatch

public <T> Dispatch<T> createDispatch(EndpointReference endpointReference,
                                      Class<T> type,
                                      Service.Mode mode,
                                      WebServiceFeature... features)
Specified by:
createDispatch in class ServiceDelegate

createDispatch

public Dispatch<Object> createDispatch(QName portName,
                                       JAXBContext context,
                                       Service.Mode mode)
Specified by:
createDispatch in class ServiceDelegate

createDispatch

public Dispatch<Object> createDispatch(QName portName,
                                       JAXBContext context,
                                       Service.Mode mode,
                                       WebServiceFeature... features)
Specified by:
createDispatch in class ServiceDelegate

createDispatch

public Dispatch<Object> createDispatch(EndpointReference endpointReference,
                                       JAXBContext context,
                                       Service.Mode mode,
                                       WebServiceFeature... features)
Specified by:
createDispatch in class ServiceDelegate

getPort

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

Apache CXF API

Apache CXF