org.apache.axis2.jaxws.client.dispatch
Class JAXBDispatch<T>

java.lang.Object
  extended by org.apache.axis2.jaxws.BindingProvider
      extended by org.apache.axis2.jaxws.client.dispatch.BaseDispatch<T>
          extended by org.apache.axis2.jaxws.client.dispatch.JAXBDispatch<T>
All Implemented Interfaces:
BindingProvider, Dispatch

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
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
JAXBDispatch(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, java.lang.String addressingNamespace, WebServiceFeature... features)
           
JAXBDispatch(ServiceDelegate svcDelegate, EndpointDescription epDesc, WebServiceFeature... features)
           
 
Method Summary
 AsyncResponse createAsyncResponseListener()
          Creates an instance of the AsyncListener that is to be used for waiting for async responses.
 Message createMessageFromValue(java.lang.Object value)
          Take the input object and turn it into an OMElement so that it can be sent.
 javax.xml.bind.JAXBContext getJAXBContext()
           
 java.lang.Object getValueFromMessage(Message message)
          Given a message, return the business object based on the requestor's required format (PAYLOAD vs.
 void setJAXBContext(javax.xml.bind.JAXBContext jbc)
           
 
Methods inherited from class org.apache.axis2.jaxws.client.dispatch.BaseDispatch
getFaultResponse, getMode, hasFaultResponse, 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,
                    java.lang.String addressingNamespace,
                    WebServiceFeature... features)
Method Detail

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.