org.apache.axis2.jaxws.core.controller.impl
Class AxisInvocationController

java.lang.Object
  extended by org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl
      extended by org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController
All Implemented Interfaces:
InvocationController

public class AxisInvocationController
extends InvocationControllerImpl

The AxisInvocationController is an implementation of the InvocationController interface. This implemenation uses the Axis2 engine to drive the request to the target service.

For more information on how to invoke this class, please see the InvocationController interface comments.


Constructor Summary
AxisInvocationController()
           
 
Method Summary
 MessageContext doInvoke(MessageContext request)
           
 Response doInvokeAsync(MessageContext request)
           
 Future<?> doInvokeAsync(MessageContext request, AsyncHandler callback)
           
 void doInvokeOneWay(MessageContext request)
           
protected  void prepareRequest(MessageContext requestMsgCtx)
          Abstract method that must be implemented by whoever is providing the specific client binding.
protected  void prepareResponse(MessageContext responseMsgCtx)
          Abstract method that must be implemented by whoever is providing the specific client binding.
 
Methods inherited from class org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl
invoke, invokeAsync, invokeAsync, invokeOneWay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisInvocationController

public AxisInvocationController()
Method Detail

doInvoke

public MessageContext doInvoke(MessageContext request)
Specified by:
doInvoke in class InvocationControllerImpl

doInvokeOneWay

public void doInvokeOneWay(MessageContext request)
                    throws WebServiceException
Specified by:
doInvokeOneWay in class InvocationControllerImpl
Throws:
WebServiceException

doInvokeAsync

public Future<?> doInvokeAsync(MessageContext request,
                               AsyncHandler callback)
Specified by:
doInvokeAsync in class InvocationControllerImpl

doInvokeAsync

public Response doInvokeAsync(MessageContext request)
Specified by:
doInvokeAsync in class InvocationControllerImpl

prepareRequest

protected void prepareRequest(MessageContext requestMsgCtx)
Description copied from class: InvocationControllerImpl
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.

Specified by:
prepareRequest in class InvocationControllerImpl

prepareResponse

protected void prepareResponse(MessageContext responseMsgCtx)
Description copied from class: InvocationControllerImpl
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.

Specified by:
prepareResponse in class InvocationControllerImpl


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.