Class CallbackFuture
java.lang.Object
org.apache.axis2.jaxws.client.async.CallbackFuture
- All Implemented Interfaces:
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 jakarta.xml.ws.AsynchHandler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdisplayHandle(Object obj) Future<?>voidvoidonComplete(org.apache.axis2.context.MessageContext mc) voidvoidonFault(org.apache.axis2.context.MessageContext msgContext) voidonMessage(org.apache.axis2.context.MessageContext msgContext)
-
Constructor Details
-
CallbackFuture
-
-
Method Details
-
displayHandle
-
getFutureTask
-
onComplete
public void onComplete(org.apache.axis2.context.MessageContext mc) -
onError
- Specified by:
onErrorin interfaceorg.apache.axis2.client.async.AxisCallback
-
onMessage
public void onMessage(org.apache.axis2.context.MessageContext msgContext) - Specified by:
onMessagein interfaceorg.apache.axis2.client.async.AxisCallback
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.apache.axis2.client.async.AxisCallback
-
onFault
public void onFault(org.apache.axis2.context.MessageContext msgContext) - Specified by:
onFaultin interfaceorg.apache.axis2.client.async.AxisCallback
-