|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface Handler
Nested Class Summary | |
static class |
Handler.InvocationResponse
This type encapsulates an enumeration of possible message processing instruction values that may be returned by a handler/phase within the runtime. |
Method Summary | |
void |
cleanup()
Since this might change the whole behavior of Axis2 handlers, and since this is still under discussion (http://marc.theaimsgroup.com/?l=axis-dev&m=114504084929285&w=2) implementation of this method is deferred. |
void |
flowComplete(MessageContext msgContext)
This method will be called on each registered handler that had its invoke(...) method called during the processing of the message, once the message processing has completed. |
HandlerDescription |
getHandlerDesc()
Gets the HandlerDescription of a handler. |
java.lang.String |
getName()
Method getName. |
Parameter |
getParameter(java.lang.String name)
Method getParameter. |
void |
init(HandlerDescription handlerdesc)
Method init. |
Handler.InvocationResponse |
invoke(MessageContext msgContext)
This method will be called on each registered handler when a message needs to be processed. |
Method Detail |
public void cleanup()
public void init(HandlerDescription handlerdesc)
handlerdesc
- public Handler.InvocationResponse invoke(MessageContext msgContext) throws AxisFault
msgContext
- the MessageContext
to process with this
Handler
.
AxisFault
- if the handler encounters an errorpublic void flowComplete(MessageContext msgContext)
msgContext
- the MessageContext
to process with this
Handler
.public HandlerDescription getHandlerDesc()
public java.lang.String getName()
public Parameter getParameter(java.lang.String name)
name
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |