org.apache.axis2.engine
Class AbstractDispatcher
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.engine.AbstractDispatcher
- All Implemented Interfaces:
- Handler, java.io.Serializable
- Direct Known Subclasses:
- AddressingBasedDispatcher, RequestURIBasedDispatcher, SOAPActionBasedDispatcher, SOAPMessageBodyBasedDispatcher
- public abstract class AbstractDispatcher
- extends AbstractHandler
This the base class for all dispatchers, it is a Handler which has a one
traget, that is to find the Service a given SOAP message is targeted to.
Axis2 service dispatching is model via a Chain of diapatchers, each trying to
Diaptach but let go without throwing a execption in case they fail.
- See Also:
- Serialized Form
Field Summary |
static javax.xml.namespace.QName |
NAME
Field NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final javax.xml.namespace.QName NAME
- Field NAME
AbstractDispatcher
public AbstractDispatcher()
initDispatcher
public abstract void initDispatcher()
invoke
public final void invoke(MessageContext msgctx)
throws AxisFault
- This is final, obivously not for overiding
- Parameters:
msgctx
-
- Throws:
AxisFault
findService
public abstract ServiceDescription findService(MessageContext messageContext)
throws AxisFault
- Give the diaptacher turn to find the Service
- Parameters:
messageContext
-
- Returns:
-
- Throws:
AxisFault
findOperation
public abstract OperationDescription findOperation(ServiceDescription service,
MessageContext messageContext)
throws AxisFault
- Give the diaptacher turn to find the Operation
- Parameters:
service
- messageContext
-
- Returns:
-
- Throws:
AxisFault