Package com.sun.xml.ws.client.dispatch
Class JAXBDispatch
- All Implemented Interfaces:
Component,ComponentRegistry,ResponseContextReceiver,WSBindingProvider,BindingProvider,Dispatch<Object>,Closeable,AutoCloseable
The
JAXBDispatch class provides support
for the dynamic invocation of a service endpoint operation using
JAXB objects. The jakarta.xml.ws.Service
interface acts as a factory for the creation of JAXBDispatch
instances.- Version:
- 1.0
- Author:
- WS Development Team
-
Field Summary
Fields inherited from class com.sun.xml.ws.client.Stub
addrVersion, binding, endpointReference, operationDispatcher, owner, portInfo, portname, PREVENT_SYNC_START_FOR_ASYNC_INVOKE, requestContext, wsdlPortFields inherited from interface jakarta.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionJAXBDispatch(WSPortInfo portInfo, jakarta.xml.bind.JAXBContext jc, Service.Mode mode, BindingImpl binding, WSEndpointReference epr) JAXBDispatch(QName port, jakarta.xml.bind.JAXBContext jc, Service.Mode mode, WSServiceDelegate service, Tube pipe, BindingImpl binding, WSEndpointReference epr) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOutboundHeaders(Object... headers) Sets the out-bound headers to be added to messages sent from thisBindingProvider.Methods inherited from class com.sun.xml.ws.client.dispatch.DispatchImpl
checkValidDataSourceDispatch, checkValidSOAPMessageDispatch, createSourceDispatch, createSourceDispatch, doInvoke, getPortName, invoke, invokeAsync, invokeAsync, invokeOneWay, resolveURI, setOutboundAttachmentsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.xml.ws.BindingProvider
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
-
Constructor Details
-
JAXBDispatch
@Deprecated public JAXBDispatch(QName port, jakarta.xml.bind.JAXBContext jc, Service.Mode mode, WSServiceDelegate service, Tube pipe, BindingImpl binding, WSEndpointReference epr) Deprecated. -
JAXBDispatch
public JAXBDispatch(WSPortInfo portInfo, jakarta.xml.bind.JAXBContext jc, Service.Mode mode, BindingImpl binding, WSEndpointReference epr)
-
-
Method Details
-
setOutboundHeaders
Description copied from interface:WSBindingProviderSets the out-bound headers to be added to messages sent from thisBindingProvider.Each object must be a JAXB-bound object that is understood by the
JAXBContextobject known by thisWSBindingProvider(that is, if this is aDispatchwith JAXB, thenJAXBContextgiven toService.createDispatch(QName,JAXBContext,Mode)and if this is a typed proxy, thenJAXBContextimplicitly created by the JAX-WS RI.)- Specified by:
setOutboundHeadersin interfaceWSBindingProvider- Overrides:
setOutboundHeadersin classDispatchImpl<Object>- Parameters:
headers- Can be null or empty.
-