public class ServiceDelegate
extends javax.xml.ws.spi.ServiceDelegate
Service API. This is the plug point for the client implementation.| Constructor and Description |
|---|
ServiceDelegate(java.net.URL url,
javax.xml.namespace.QName qname,
java.lang.Class clazz,
javax.xml.ws.WebServiceFeature... features) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPort(javax.xml.namespace.QName portName,
java.lang.String bindingId,
java.lang.String endpointAddress) |
<T> javax.xml.ws.Dispatch<T> |
createDispatch(javax.xml.ws.EndpointReference jaxwsEPR,
java.lang.Class<T> type,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features) |
javax.xml.ws.Dispatch<java.lang.Object> |
createDispatch(javax.xml.ws.EndpointReference jaxwsEPR,
javax.xml.bind.JAXBContext context,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features) |
<T> javax.xml.ws.Dispatch<T> |
createDispatch(javax.xml.namespace.QName portName,
java.lang.Class<T> type,
javax.xml.ws.Service.Mode mode) |
<T> javax.xml.ws.Dispatch<T> |
createDispatch(javax.xml.namespace.QName portName,
java.lang.Class<T> type,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features) |
javax.xml.ws.Dispatch<java.lang.Object> |
createDispatch(javax.xml.namespace.QName portName,
javax.xml.bind.JAXBContext context,
javax.xml.ws.Service.Mode mode) |
javax.xml.ws.Dispatch<java.lang.Object> |
createDispatch(javax.xml.namespace.QName portName,
javax.xml.bind.JAXBContext context,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features) |
protected void |
finalize() |
java.util.concurrent.Executor |
getExecutor() |
javax.xml.ws.handler.HandlerResolver |
getHandlerResolver() |
<T> T |
getPort(java.lang.Class<T> sei) |
<T> T |
getPort(java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features) |
<T> T |
getPort(javax.xml.ws.EndpointReference jaxwsEPR,
java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features) |
<T> T |
getPort(EndpointReference axis2EPR,
java.lang.String addressingNamespace,
java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features) |
<T> T |
getPort(javax.xml.namespace.QName portName,
java.lang.Class<T> sei) |
<T> T |
getPort(javax.xml.namespace.QName portName,
java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features) |
java.util.Iterator<javax.xml.namespace.QName> |
getPorts() |
ServiceClient |
getServiceClient(javax.xml.namespace.QName portQName) |
ServiceDescription |
getServiceDescription()
Get the ServiceDescription tree that this ServiceDelegate
|
javax.xml.namespace.QName |
getServiceName() |
java.net.URL |
getWSDLDocumentLocation() |
static void |
releaseService(javax.xml.ws.Service service)
PROPRIETARY METHOD TO RELEASE RESOUCES.
|
void |
setExecutor(java.util.concurrent.Executor e) |
void |
setHandlerResolver(javax.xml.ws.handler.HandlerResolver handlerresolver) |
static void |
setPortMetadata(DescriptionBuilderComposite composite)
NON-STANDARD SPI! Set any metadata to be used on the creation of the NEXT Port by this thread.
|
static void |
setServiceMetadata(DescriptionBuilderComposite composite)
NON-STANDARD SPI! Set any metadata to be used on the creation of the NEXT Service by this thread.
|
public ServiceDelegate(java.net.URL url,
javax.xml.namespace.QName qname,
java.lang.Class clazz,
javax.xml.ws.WebServiceFeature... features)
throws javax.xml.ws.WebServiceException
javax.xml.ws.WebServiceExceptionpublic static void setServiceMetadata(DescriptionBuilderComposite composite)
composite - Additional metadata (if any) to be used in creation of the serviceService.create(QName),
Service.create(URL, QName)public static void setPortMetadata(DescriptionBuilderComposite composite)
composite - Additional metadata (if any) to be used in creation of the portService.getPort(Class),
Service.getPort(QName, Class)public void addPort(javax.xml.namespace.QName portName,
java.lang.String bindingId,
java.lang.String endpointAddress)
throws javax.xml.ws.WebServiceException
addPort in class javax.xml.ws.spi.ServiceDelegatejavax.xml.ws.WebServiceExceptionpublic <T> javax.xml.ws.Dispatch<T> createDispatch(javax.xml.namespace.QName portName,
java.lang.Class<T> type,
javax.xml.ws.Service.Mode mode)
throws javax.xml.ws.WebServiceException
createDispatch in class javax.xml.ws.spi.ServiceDelegatejavax.xml.ws.WebServiceExceptionpublic javax.xml.ws.Dispatch<java.lang.Object> createDispatch(javax.xml.namespace.QName portName,
javax.xml.bind.JAXBContext context,
javax.xml.ws.Service.Mode mode)
createDispatch in class javax.xml.ws.spi.ServiceDelegatepublic <T> javax.xml.ws.Dispatch<T> createDispatch(javax.xml.ws.EndpointReference jaxwsEPR,
java.lang.Class<T> type,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features)
createDispatch in class javax.xml.ws.spi.ServiceDelegatepublic javax.xml.ws.Dispatch<java.lang.Object> createDispatch(javax.xml.ws.EndpointReference jaxwsEPR,
javax.xml.bind.JAXBContext context,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features)
createDispatch in class javax.xml.ws.spi.ServiceDelegatepublic <T> javax.xml.ws.Dispatch<T> createDispatch(javax.xml.namespace.QName portName,
java.lang.Class<T> type,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features)
createDispatch in class javax.xml.ws.spi.ServiceDelegatepublic javax.xml.ws.Dispatch<java.lang.Object> createDispatch(javax.xml.namespace.QName portName,
javax.xml.bind.JAXBContext context,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features)
createDispatch in class javax.xml.ws.spi.ServiceDelegatepublic <T> T getPort(java.lang.Class<T> sei)
throws javax.xml.ws.WebServiceException
getPort in class javax.xml.ws.spi.ServiceDelegatejavax.xml.ws.WebServiceExceptionpublic <T> T getPort(javax.xml.namespace.QName portName,
java.lang.Class<T> sei)
throws javax.xml.ws.WebServiceException
getPort in class javax.xml.ws.spi.ServiceDelegatejavax.xml.ws.WebServiceExceptionpublic <T> T getPort(java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features)
getPort in class javax.xml.ws.spi.ServiceDelegatepublic <T> T getPort(javax.xml.ws.EndpointReference jaxwsEPR,
java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features)
getPort in class javax.xml.ws.spi.ServiceDelegatepublic <T> T getPort(javax.xml.namespace.QName portName,
java.lang.Class<T> sei,
javax.xml.ws.WebServiceFeature... features)
getPort in class javax.xml.ws.spi.ServiceDelegatepublic java.util.concurrent.Executor getExecutor()
getExecutor in class javax.xml.ws.spi.ServiceDelegatepublic javax.xml.ws.handler.HandlerResolver getHandlerResolver()
getHandlerResolver in class javax.xml.ws.spi.ServiceDelegatepublic java.util.Iterator<javax.xml.namespace.QName> getPorts()
getPorts in class javax.xml.ws.spi.ServiceDelegatepublic javax.xml.namespace.QName getServiceName()
getServiceName in class javax.xml.ws.spi.ServiceDelegatepublic java.net.URL getWSDLDocumentLocation()
getWSDLDocumentLocation in class javax.xml.ws.spi.ServiceDelegatepublic void setExecutor(java.util.concurrent.Executor e)
setExecutor in class javax.xml.ws.spi.ServiceDelegatepublic void setHandlerResolver(javax.xml.ws.handler.HandlerResolver handlerresolver)
setHandlerResolver in class javax.xml.ws.spi.ServiceDelegatepublic ServiceDescription getServiceDescription()
public ServiceClient getServiceClient(javax.xml.namespace.QName portQName) throws javax.xml.ws.WebServiceException
javax.xml.ws.WebServiceExceptionpublic <T> T getPort(EndpointReference axis2EPR, java.lang.String addressingNamespace, java.lang.Class<T> sei, javax.xml.ws.WebServiceFeature... features)
public static void releaseService(javax.xml.ws.Service service)
service - Instance of the Service for which resources may be released.protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.