| com.sun.xml.ws.api.WSService com.sun.xml.ws.client.WSServiceDelegate
WSServiceDelegate | public class WSServiceDelegate extends WSService (Code) | | Service objects provide the client view of a Web service.
Service acts as a factory of the following:
- Proxies for a target service endpoint.
- Instances of
javax.xml.ws.Dispatch for
dynamic message-oriented invocation of a remote
operation.
The ports available on a service can be enumerated using the
getPorts method. Alternatively, you can pass a
service endpoint interface to the unary getPort method
and let the runtime select a compatible port.
Handler chains for all the objects created by a Service
can be set by means of the provided HandlerRegistry .
An Executor may be set on the service in order
to gain better control over the threads used to dispatch asynchronous
callbacks. For instance, thread pooling with certain parameters
can be enabled by creating a ThreadPoolExecutor and
registering it with the service.
author: WS Development Team See Also: Executor since: JAX-WS 2.0 |
Method Summary | |
public void | addPort(QName portName, String bindingId, String endpointAddress) | public Dispatch<T> | createDispatch(QName portName, Class<T> aClass, Service.Mode mode) | public Dispatch<T> | createDispatch(QName portName, WSEndpointReference wsepr, Class<T> aClass, Service.Mode mode, WebServiceFeature... features) | public Dispatch<T> | createDispatch(QName portName, Class<T> aClass, Service.Mode mode, WebServiceFeature... features) | public Dispatch<T> | createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features) | public Dispatch<Object> | createDispatch(QName portName, JAXBContext jaxbContext, Service.Mode mode) | public Dispatch<Object> | createDispatch(QName portName, WSEndpointReference wsepr, JAXBContext jaxbContext, Service.Mode mode, WebServiceFeature... features) | public Dispatch<Object> | createDispatch(QName portName, JAXBContext jaxbContext, Service.Mode mode, WebServiceFeature... webServiceFeatures) | public Dispatch<Object> | createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features) | public Container | getContainer() | public EndpointAddress | getEndpointAddress(QName qName) | public Executor | getExecutor() | final HandlerConfigurator | getHandlerConfigurator() | public HandlerResolver | getHandlerResolver() | public T | getPort(QName portName, Class<T> portInterface) | public T | getPort(QName portName, Class<T> portInterface, WebServiceFeature... features) | public T | getPort(EndpointReference epr, Class<T> portInterface, WebServiceFeature... features) | public T | getPort(WSEndpointReference wsepr, Class<T> portInterface, WebServiceFeature... features) | public T | getPort(Class<T> portInterface, WebServiceFeature... features) | public T | getPort(Class<T> portInterface) | public WSDLPortImpl | getPortModel(QName portName) Obtains a
WSDLPortImpl with error check. | public Iterator<QName> | getPorts() | protected Class | getServiceClass() | public QName | getServiceName() | public URL | getWSDLDocumentLocation() | public WSDLServiceImpl | getWsdlService() | public PortInfo | safeGetPort(QName portName) Obtains
PortInfo for the given name, with error check. | public void | setExecutor(Executor executor) | public void | setHandlerResolver(HandlerResolver resolver) |
WSServiceDelegate | public WSServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass)(Code) | | |
WSServiceDelegate | public WSServiceDelegate(Source wsdl, QName serviceName, Class<? extends Service> serviceClass)(Code) | | Parameters: serviceClass - Either Service.class or other generated service-derived classes. |
getWSDLDocumentLocation | public URL getWSDLDocumentLocation()(Code) | | |
Methods inherited from com.sun.xml.ws.api.WSService | public static WSService create(URL wsdlDocumentLocation, QName serviceName)(Code)(Java Doc) public static WSService create(QName serviceName)(Code)(Java Doc) public static WSService create()(Code)(Java Doc) public static Service create(URL wsdlDocumentLocation, QName serviceName, InitParams properties)(Code)(Java Doc) abstract public Dispatch<T> createDispatch(QName portName, WSEndpointReference wsepr, Class<T> aClass, Service.Mode mode, WebServiceFeature... features)(Code)(Java Doc) abstract public Dispatch<Object> createDispatch(QName portName, WSEndpointReference wsepr, JAXBContext jaxbContext, Service.Mode mode, WebServiceFeature... features)(Code)(Java Doc) abstract public Container getContainer()(Code)(Java Doc) abstract public T getPort(WSEndpointReference epr, Class<T> portInterface, WebServiceFeature... features)(Code)(Java Doc) public static WSService unwrap(Service svc)(Code)(Java Doc)
|
|
|