com.sun.xml.ws.client.dispatch
Class JAXBDispatch
java.lang.Object
com.sun.xml.ws.client.Stub
com.sun.xml.ws.client.dispatch.DispatchImpl<Object>
com.sun.xml.ws.client.dispatch.JAXBDispatch
- All Implemented Interfaces:
- Component, ComponentRegistry, ResponseContextReceiver, WSBindingProvider, Closeable, BindingProvider, Dispatch<Object>
public class JAXBDispatch
- extends DispatchImpl<Object>
The JAXBDispatch class provides support
for the dynamic invocation of a service endpoint operation using
JAXB objects. The javax.xml.ws.Service
interface acts as a factory for the creation of JAXBDispatch
instances.
- Version:
- 1.0
- Author:
- WS Development Team
|
Constructor Summary |
JAXBDispatch(QName port,
JAXBContext jc,
Service.Mode mode,
WSServiceDelegate service,
Tube pipe,
BindingImpl binding,
WSEndpointReference epr)
Deprecated. |
JAXBDispatch(WSPortInfo portInfo,
JAXBContext jc,
Service.Mode mode,
BindingImpl binding,
WSEndpointReference epr)
|
| Methods inherited from class com.sun.xml.ws.client.dispatch.DispatchImpl |
checkValidDataSourceDispatch, checkValidSOAPMessageDispatch, createSourceDispatch, createSourceDispatch, doInvoke, getPortName, invoke, invokeAsync, invokeAsync, invokeOneWay, resolveURI, setOutboundAttachments |
| Methods inherited from class com.sun.xml.ws.client.Stub |
close, configureFiber, getBinding, getComponents, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getManagedObjectManager, getOperationDispatcher, getPortInfo, getRequestContext, getResponseContext, getService, getServiceName, getSPI, getTubes, getWSDLPort, getWSEndpointReference, process, processAsync, resetRequestContext, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString |
JAXBDispatch
@Deprecated
public JAXBDispatch(QName port,
JAXBContext jc,
Service.Mode mode,
WSServiceDelegate service,
Tube pipe,
BindingImpl binding,
WSEndpointReference epr)
- Deprecated.
JAXBDispatch
public JAXBDispatch(WSPortInfo portInfo,
JAXBContext jc,
Service.Mode mode,
BindingImpl binding,
WSEndpointReference epr)
setOutboundHeaders
public void setOutboundHeaders(Object... headers)
- Description copied from interface:
WSBindingProvider
- Sets the out-bound headers to be added to messages sent from
this
BindingProvider.
Each object must be a JAXB-bound object that is understood
by the JAXBContext object known by this WSBindingProvider
(that is, if this is a Dispatch with JAXB, then
JAXBContext given to Service.createDispatch(QName,JAXBContext,Mode)
and if this is a typed proxy, then JAXBContext
implicitly created by the JAX-WS RI.)
- Specified by:
setOutboundHeaders in interface WSBindingProvider- Overrides:
setOutboundHeaders in class DispatchImpl<Object>
- Parameters:
headers - Can be null or empty.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.