|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.handlers.BasicHandler org.apache.axis.FaultableHandler
A FaultableHandler
is essentially a wrapper for any other
Handler which provides flexible fault handling semantics.
Constructor Summary | |
FaultableHandler(Handler workHandler)
Create a new FaultHandler. |
Method Summary | |
boolean |
canHandleBlock(QName qname)
Indicate if this handler can process qname . |
void |
cleanup()
Cleanup is called when the chain containing this Handler object is done processing the chain. |
void |
init()
Stubbed-out methods. |
void |
invoke(MessageContext msgContext)
Invokes the specified handler. |
void |
onFault(MessageContext msgContext)
Some handler later on has faulted so we need to process the fault. |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, setName, setOption, setOptionDefault, setOptions |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FaultableHandler(Handler workHandler)
workHandler
- the Handler we're going to wrap with Fault semantics.Method Detail |
public void init()
BasicHandler
init
in interface Handler
init
in class BasicHandler
public void cleanup()
Handler
cleanup
in interface Handler
cleanup
in class BasicHandler
public void invoke(MessageContext msgContext) throws AxisFault
msgContext
- the MessageContext
to process
AxisFault
- if anything goes terminally wrongpublic void onFault(MessageContext msgContext)
onFault
in interface Handler
onFault
in class BasicHandler
msgContext
- the context to processpublic boolean canHandleBlock(QName qname)
Handler
qname
.
canHandleBlock
in interface Handler
canHandleBlock
in class BasicHandler
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |