Class InvocationControllerImpl

java.lang.Object
org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl
All Implemented Interfaces:
InvocationController
Direct Known Subclasses:
AxisInvocationController

public abstract class InvocationControllerImpl extends Object implements InvocationController
An abstract implementation of the InvocationController interface.
  • Constructor Details

    • InvocationControllerImpl

      public InvocationControllerImpl()
  • Method Details

    • invoke

      Description copied from interface: InvocationController
      Performs a synchronous (blocking) invocation of a target service. The InvocationContext passed in should contain a valid MessageContext containing the properties and message to be sent for the request. The response contents will be processed and placed in the InvocationContext as well.
      Specified by:
      invoke in interface InvocationController
      Returns:
    • doInvoke

      protected abstract MessageContext doInvoke(MessageContext request)
    • invokeOneWay

      public void invokeOneWay(InvocationContext ic) throws Exception
      Description copied from interface: InvocationController
      Performs a one-way invocation of the client. This is SHOULD NOT be a robust invocation, so any fault that occurs during the processing of the request will not be returned to the client. Errors returned to the client are problems that occurred during the sending of the message to the server.
      Specified by:
      invokeOneWay in interface InvocationController
      Throws:
      Exception
    • doInvokeOneWay

      protected abstract void doInvokeOneWay(MessageContext mc)
    • invokeAsync

      public jakarta.xml.ws.Response invokeAsync(InvocationContext ic)
      Description copied from interface: InvocationController
      Performs an asynchronous (non-blocking) invocation of the client based on a callback model. The AsyncHandler that is passed in is the callback that the client programmer supplied when they invoked their JAX-WS Dispatch or their SEI-based dynamic proxy.
      Specified by:
      invokeAsync in interface InvocationController
      Returns:
    • doInvokeAsync

      public abstract jakarta.xml.ws.Response doInvokeAsync(MessageContext mc)
    • invokeAsync

      public Future<?> invokeAsync(InvocationContext ic, jakarta.xml.ws.AsyncHandler asyncHandler)
      Description copied from interface: InvocationController
      Performs an asynchronous (non-blocking) invocation of the client based on a polling model. The Response object that is returned allows the client programmer to poll against it to see if a response has been sent back by the server.
      Specified by:
      invokeAsync in interface InvocationController
      Returns:
    • doInvokeAsync

      public abstract Future<?> doInvokeAsync(MessageContext mc, jakarta.xml.ws.AsyncHandler asyncHandler)
    • prepareRequest

      protected abstract void prepareRequest(MessageContext mc)
      Abstract method that must be implemented by whoever is providing the specific client binding. Once this is called, everything that is needed to invoke the operation must be available in the MessageContext.
      Parameters:
      mc -
    • prepareResponse

      protected abstract void prepareResponse(MessageContext mc)
      Abstract method that must be implemented by whoever is providing the specific client binding. This is called after the response has come back and allows the client binding to put whatever info it has in the response MessageContext.
      Parameters:
      mc -