public class MustUnderstandChecker extends AbstractTemplatedHandler
Handler.InvocationResponse
handlerDesc
Constructor and Description |
---|
MustUnderstandChecker() |
Modifier and Type | Method and Description |
---|---|
Handler.InvocationResponse |
doInvoke(MessageContext msgContext)
This should implement the actual handler invocation logic.
|
boolean |
shouldInvoke(MessageContext msgContext)
This method should implement the conditional check of the handler to decide whether this
particular message needs to be handled by me
|
invoke
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
public boolean shouldInvoke(MessageContext msgContext) throws AxisFault
AbstractTemplatedHandler
shouldInvoke
in class AbstractTemplatedHandler
msgContext
- current MessageContext
to be evaluatedtrue, if this handler needs to be further invoked,
false
if this handler has nothing to do with this specific message
and want the flow to be continued
AxisFault
- in an error in evaluating the decisionpublic Handler.InvocationResponse doInvoke(MessageContext msgContext) throws AxisFault
AbstractTemplatedHandler
doInvoke
in class AbstractTemplatedHandler
msgContext
- current message to be handled by this handlerInvocationResponse#CONTINUE
,
InvocationResponse#ABORT
, InvocationResponse#SUSPEND
AxisFault
- in an error in invoking the handlerCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.