org.apache.axis2.jaxws.client.dispatch
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
public class JAXBDispatch<T>
- extends BaseDispatch<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBDispatch
public JAXBDispatch(ServiceDelegate svcDelegate,
EndpointDescription epDesc,
WebServiceFeature... features)
JAXBDispatch
public JAXBDispatch(ServiceDelegate svcDelegate,
EndpointDescription epDesc,
EndpointReference epr,
java.lang.String addressingNamespace,
WebServiceFeature... features)
getJAXBContext
public javax.xml.bind.JAXBContext getJAXBContext()
setJAXBContext
public void setJAXBContext(javax.xml.bind.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 class BaseDispatch<T>
- Returns:
- a configured AsyncListener instance
createMessageFromValue
public Message createMessageFromValue(java.lang.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 class BaseDispatch<T>
- Returns:
getValueFromMessage
public java.lang.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 class BaseDispatch<T>
- Returns:
Copyright © 2007 Apache Web Services Project. All Rights Reserved.