org.apache.ode.axis2.hooks
Class ODEAxisOperationDispatcher

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.apache.axis2.engine.AbstractDispatcher
          extended by org.apache.ode.axis2.hooks.ODEAxisOperationDispatcher
All Implemented Interfaces:
org.apache.axis2.engine.Handler

public class ODEAxisOperationDispatcher
extends org.apache.axis2.engine.AbstractDispatcher

Dispatches the service based on the information from the target endpoint URL.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
org.apache.axis2.engine.Handler.InvocationResponse
 
Field Summary
static java.lang.String NAME
          Field NAME
 
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
 
Constructor Summary
ODEAxisOperationDispatcher()
           
 
Method Summary
static void addElmtToOpMapping(java.lang.String axisServiceName, java.lang.String operationName, java.lang.String elmtName)
          Associates an operation and the corresponding message part element name.
 org.apache.axis2.description.AxisOperation findOperation(org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext messageContext)
           
 org.apache.axis2.description.AxisService findService(org.apache.axis2.context.MessageContext messageContext)
           
 void initDispatcher()
           
 
Methods inherited from class org.apache.axis2.engine.AbstractDispatcher
invoke
 
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Field NAME

See Also:
Constant Field Values
Constructor Detail

ODEAxisOperationDispatcher

public ODEAxisOperationDispatcher()
Method Detail

findOperation

public org.apache.axis2.description.AxisOperation findOperation(org.apache.axis2.description.AxisService service,
                                                                org.apache.axis2.context.MessageContext messageContext)
                                                         throws org.apache.axis2.AxisFault
Specified by:
findOperation in class org.apache.axis2.engine.AbstractDispatcher
Throws:
org.apache.axis2.AxisFault

findService

public org.apache.axis2.description.AxisService findService(org.apache.axis2.context.MessageContext messageContext)
                                                     throws org.apache.axis2.AxisFault
Specified by:
findService in class org.apache.axis2.engine.AbstractDispatcher
Throws:
org.apache.axis2.AxisFault

initDispatcher

public void initDispatcher()
Specified by:
initDispatcher in class org.apache.axis2.engine.AbstractDispatcher

addElmtToOpMapping

public static void addElmtToOpMapping(java.lang.String axisServiceName,
                                      java.lang.String operationName,
                                      java.lang.String elmtName)
Associates an operation and the corresponding message part element name. Only makes sense for doc/lit services (only one part) for which the operation can't easily be guessed from the message element name.

Parameters:
axisServiceName - the service name as registered in Axis2
operationName - operation local name
elmtName - element local name