Class CallbackFuture

  • All Implemented Interfaces:
    org.apache.axis2.client.async.AxisCallback

    public class CallbackFuture
    extends Object
    implements org.apache.axis2.client.async.AxisCallback
    The CallbackFuture implements the Axis2 org.apache.axis2.client.async.Callback API and will get registered with the Axis2 engine to receive the asynchronous callback responses. This object is also responsible for taking the java.util.concurrent.Executor given to it by the JAX-WS client and using that as the thread on which to deliver the async response the JAX-WS javax.xml.ws.AsynchHandler.
    • Method Detail

      • displayHandle

        public static String displayHandle​(Object obj)
      • getFutureTask

        public Future<?> getFutureTask()
      • onComplete

        public void onComplete​(org.apache.axis2.context.MessageContext mc)
      • onError

        public void onError​(Exception e)
        Specified by:
        onError in interface org.apache.axis2.client.async.AxisCallback
      • onMessage

        public void onMessage​(org.apache.axis2.context.MessageContext msgContext)
        Specified by:
        onMessage in interface org.apache.axis2.client.async.AxisCallback
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.apache.axis2.client.async.AxisCallback
      • onFault

        public void onFault​(org.apache.axis2.context.MessageContext msgContext)
        Specified by:
        onFault in interface org.apache.axis2.client.async.AxisCallback