Class JAXBDispatch<T>

All Implemented Interfaces:
jakarta.xml.ws.BindingProvider, jakarta.xml.ws.Dispatch, BindingProvider

public class JAXBDispatch<T> extends BaseDispatch<T>
  • Constructor Details

    • JAXBDispatch

      public JAXBDispatch(ServiceDelegate svcDelegate, org.apache.axis2.jaxws.description.EndpointDescription epDesc, jakarta.xml.ws.WebServiceFeature... features)
    • JAXBDispatch

      public JAXBDispatch(ServiceDelegate svcDelegate, org.apache.axis2.jaxws.description.EndpointDescription epDesc, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, jakarta.xml.ws.WebServiceFeature... features)
  • Method Details

    • getJAXBContext

      public jakarta.xml.bind.JAXBContext getJAXBContext()
    • setJAXBContext

      public void setJAXBContext(jakarta.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(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 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: