Class JAXBDispatch<T>
- java.lang.Object
-
- org.apache.axis2.jaxws.BindingProvider
-
- org.apache.axis2.jaxws.client.dispatch.BaseDispatch<T>
-
- org.apache.axis2.jaxws.client.dispatch.JAXBDispatch<T>
-
- All Implemented Interfaces:
BindingProvider
,Dispatch
,BindingProvider
public class JAXBDispatch<T> extends BaseDispatch<T>
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
ic, mode, serviceClient
-
Fields inherited from class org.apache.axis2.jaxws.BindingProvider
BINDING_PROVIDER, endpointDesc, requestContext, responseContext, serviceDelegate
-
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description JAXBDispatch(ServiceDelegate svcDelegate, EndpointDescription epDesc, WebServiceFeature... features)
JAXBDispatch(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncResponse
createAsyncResponseListener()
Creates an instance of the AsyncListener that is to be used for waiting for async responses.Message
createMessageFromValue(Object value)
Take the input object and turn it into an OMElement so that it can be sent.JAXBContext
getJAXBContext()
Object
getValueFromMessage(Message message)
Given a message, return the business object based on the requestor's required format (PAYLOAD vs.void
setJAXBContext(JAXBContext jbc)
-
Methods inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
getFaultResponse, getMode, hasFaultResponse, initMessageContext, invoke, invokeAsync, invokeAsync, invokeOneWay, setMode, setServiceClient
-
Methods inherited from class org.apache.axis2.jaxws.BindingProvider
checkMaintainSessionState, getBinding, getEndpointDescription, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext, getServiceDelegate, setupSessionContext, useSoapAction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.ws.BindingProvider
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
-
-
-
-
Constructor Detail
-
JAXBDispatch
public JAXBDispatch(ServiceDelegate svcDelegate, EndpointDescription epDesc, WebServiceFeature... features)
-
JAXBDispatch
public JAXBDispatch(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
-
-
Method Detail
-
getJAXBContext
public JAXBContext getJAXBContext()
-
setJAXBContext
public void setJAXBContext(JAXBContext jbc)
-
createAsyncResponseListener
public AsyncResponse createAsyncResponseListener()
Description copied from class:BaseDispatch
Creates an instance of the AsyncListener that is to be used for waiting for async responses.- Specified by:
createAsyncResponseListener
in classBaseDispatch<T>
- Returns:
- a configured AsyncListener instance
-
createMessageFromValue
public Message createMessageFromValue(Object value)
Description copied from class:BaseDispatch
Take the input object and turn it into an OMElement so that it can be sent.- Specified by:
createMessageFromValue
in classBaseDispatch<T>
- Returns:
-
getValueFromMessage
public Object getValueFromMessage(Message message)
Description copied from class:BaseDispatch
Given a message, return the business object based on the requestor's required format (PAYLOAD vs. MESSAGE) and datatype.- Specified by:
getValueFromMessage
in classBaseDispatch<T>
- Returns:
-
-