public abstract class InvocationControllerImpl extends Object implements InvocationController
Constructor and Description |
---|
InvocationControllerImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract MessageContext |
doInvoke(MessageContext request) |
abstract Response |
doInvokeAsync(MessageContext mc) |
abstract Future<?> |
doInvokeAsync(MessageContext mc,
AsyncHandler asyncHandler) |
protected abstract void |
doInvokeOneWay(MessageContext mc) |
InvocationContext |
invoke(InvocationContext ic)
Performs a synchronous (blocking) invocation of a target service.
|
Response |
invokeAsync(InvocationContext ic)
Performs an asynchronous (non-blocking) invocation of the client based on a callback model.
|
Future<?> |
invokeAsync(InvocationContext ic,
AsyncHandler asyncHandler)
Performs an asynchronous (non-blocking) invocation of the client based on a polling model.
|
void |
invokeOneWay(InvocationContext ic)
Performs a one-way invocation of the client.
|
protected abstract void |
prepareRequest(MessageContext mc)
Abstract method that must be implemented by whoever is providing the specific client binding.
|
protected abstract void |
prepareResponse(MessageContext mc)
Abstract method that must be implemented by whoever is providing the specific client binding.
|
public InvocationContext invoke(InvocationContext ic)
InvocationController
invoke
in interface InvocationController
protected abstract MessageContext doInvoke(MessageContext request)
public void invokeOneWay(InvocationContext ic) throws Exception
InvocationController
invokeOneWay
in interface InvocationController
Exception
protected abstract void doInvokeOneWay(MessageContext mc)
public Response invokeAsync(InvocationContext ic)
InvocationController
invokeAsync
in interface InvocationController
public abstract Response doInvokeAsync(MessageContext mc)
public Future<?> invokeAsync(InvocationContext ic, AsyncHandler asyncHandler)
InvocationController
invokeAsync
in interface InvocationController
public abstract Future<?> doInvokeAsync(MessageContext mc, AsyncHandler asyncHandler)
protected abstract void prepareRequest(MessageContext mc)
mc
- protected abstract void prepareResponse(MessageContext mc)
mc
- Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.