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 javax.xml.ws.spi.ServiceDelegate


Constructor Summary
ServiceImpl(Bus b, URL url, QName name, Class<?> cls, javax.xml.ws.WebServiceFeature... f)
           
 
Method Summary
 void addPort(QName portName, String bindingId, String address)
           
<T> javax.xml.ws.Dispatch<T>
createDispatch(javax.xml.ws.EndpointReference endpointReference, Class<T> type, javax.xml.ws.Service.Mode mode, javax.xml.ws.WebServiceFeature... features)
           
 javax.xml.ws.Dispatch<Object> createDispatch(javax.xml.ws.EndpointReference endpointReference, javax.xml.bind.JAXBContext context, javax.xml.ws.Service.Mode mode, javax.xml.ws.WebServiceFeature... features)
           
<T> javax.xml.ws.Dispatch<T>
createDispatch(QName portName, Class<T> type, javax.xml.ws.Service.Mode mode)
           
<T> javax.xml.ws.Dispatch<T>
createDispatch(QName portName, Class<T> type, javax.xml.ws.Service.Mode mode, javax.xml.ws.WebServiceFeature... features)
           
 javax.xml.ws.Dispatch<Object> createDispatch(QName portName, javax.xml.bind.JAXBContext context, javax.xml.ws.Service.Mode mode)
           
 javax.xml.ws.Dispatch<Object> createDispatch(QName portName, javax.xml.bind.JAXBContext context, javax.xml.ws.Service.Mode mode, javax.xml.ws.WebServiceFeature... features)
           
protected
<T> T
createPort(QName portName, EndpointReferenceType epr, Class<T> serviceEndpointInterface)
           
protected
<T> T
createPort(QName portName, EndpointReferenceType epr, Class<T> serviceEndpointInterface, javax.xml.ws.WebServiceFeature... features)
           
 Bus getBus()
           
 Executor getExecutor()
           
 javax.xml.ws.handler.HandlerResolver getHandlerResolver()
           
<T> T
getPort(Class<T> serviceEndpointInterface)
           
<T> T
getPort(Class<T> serviceEndpointInterface, javax.xml.ws.WebServiceFeature... features)
           
<T> T
getPort(javax.xml.ws.EndpointReference endpointReference, Class<T> serviceEndpointInterface, javax.xml.ws.WebServiceFeature... features)
           
<T> T
getPort(EndpointReferenceType endpointReference, Class<T> type)
           
<T> T
getPort(EndpointReferenceType endpointReference, Class<T> type, javax.xml.ws.WebServiceFeature... features)
           
<T> T
getPort(QName portName, Class<T> serviceEndpointInterface)
           
<T> T
getPort(QName portName, Class<T> serviceEndpointInterface, javax.xml.ws.WebServiceFeature... features)
           
 Iterator<QName> getPorts()
           
 QName getServiceName()
           
 URL getWSDLDocumentLocation()
           
 void setExecutor(Executor e)
           
 void setHandlerResolver(javax.xml.ws.handler.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,
                   javax.xml.ws.WebServiceFeature... f)
Method Detail

addPort

public final void addPort(QName portName,
                          String bindingId,
                          String address)
Specified by:
addPort in class javax.xml.ws.spi.ServiceDelegate

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in class javax.xml.ws.spi.ServiceDelegate

getHandlerResolver

public javax.xml.ws.handler.HandlerResolver getHandlerResolver()
Specified by:
getHandlerResolver in class javax.xml.ws.spi.ServiceDelegate

getPort

public <T> T getPort(Class<T> serviceEndpointInterface)
Specified by:
getPort in class javax.xml.ws.spi.ServiceDelegate

getPort

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

getPort

public <T> T getPort(QName portName,
                     Class<T> serviceEndpointInterface)
Specified by:
getPort in class javax.xml.ws.spi.ServiceDelegate

getPort

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

getPort

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

getPort

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

getPorts

public Iterator<QName> getPorts()
Specified by:
getPorts in class javax.xml.ws.spi.ServiceDelegate

getServiceName

public QName getServiceName()
Specified by:
getServiceName in class javax.xml.ws.spi.ServiceDelegate

getWSDLDocumentLocation

public URL getWSDLDocumentLocation()
Specified by:
getWSDLDocumentLocation in class javax.xml.ws.spi.ServiceDelegate

setExecutor

public void setExecutor(Executor e)
Specified by:
setExecutor in class javax.xml.ws.spi.ServiceDelegate

setHandlerResolver

public void setHandlerResolver(javax.xml.ws.handler.HandlerResolver hr)
Specified by:
setHandlerResolver in class javax.xml.ws.spi.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,
                           javax.xml.ws.WebServiceFeature... features)

createDispatch

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

createDispatch

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

createDispatch

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

createDispatch

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

createDispatch

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

createDispatch

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

getPort

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


Apache CXF