Class InvocationControllerImpl
java.lang.Object
org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl
- All Implemented Interfaces:
InvocationController
- Direct Known Subclasses:
AxisInvocationController
An abstract implementation of the InvocationController interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MessageContextdoInvoke(MessageContext request) abstract jakarta.xml.ws.Responseabstract Future<?>doInvokeAsync(MessageContext mc, jakarta.xml.ws.AsyncHandler asyncHandler) protected abstract voidPerforms a synchronous (blocking) invocation of a target service.jakarta.xml.ws.ResponsePerforms an asynchronous (non-blocking) invocation of the client based on a callback model.Future<?>invokeAsync(InvocationContext ic, jakarta.xml.ws.AsyncHandler asyncHandler) Performs an asynchronous (non-blocking) invocation of the client based on a polling model.voidPerforms a one-way invocation of the client.protected abstract voidAbstract method that must be implemented by whoever is providing the specific client binding.protected abstract voidAbstract method that must be implemented by whoever is providing the specific client binding.
-
Constructor Details
-
InvocationControllerImpl
public InvocationControllerImpl()
-
-
Method Details
-
invoke
Description copied from interface:InvocationControllerPerforms 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:
invokein interfaceInvocationController- Returns:
-
doInvoke
-
invokeOneWay
Description copied from interface:InvocationControllerPerforms 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:
invokeOneWayin interfaceInvocationController- Throws:
Exception
-
doInvokeOneWay
-
invokeAsync
Description copied from interface:InvocationControllerPerforms 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:
invokeAsyncin interfaceInvocationController- Returns:
-
doInvokeAsync
-
invokeAsync
Description copied from interface:InvocationControllerPerforms 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:
invokeAsyncin interfaceInvocationController- Returns:
-
doInvokeAsync
public abstract Future<?> doInvokeAsync(MessageContext mc, jakarta.xml.ws.AsyncHandler asyncHandler) -
prepareRequest
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
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-
-