|
|||||||||||
| 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.
| Field Summary | |
protected static org.apache.commons.logging.Log |
entLog
|
protected static org.apache.commons.logging.Log |
log
|
protected Handler |
workHandler
|
| Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
| Constructor Summary | |
FaultableHandler(Handler workHandler)
Constructor |
|
| Method Summary | |
boolean |
canHandleBlock(QName qname)
Can this Handler process this 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, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log log
protected static org.apache.commons.logging.Log entLog
protected Handler workHandler
| 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 Handlerinit in class BasicHandlerpublic void cleanup()
Handler
cleanup in interface Handlercleanup in class BasicHandler
public void invoke(MessageContext msgContext)
throws AxisFault
invoke in interface Handlerinvoke in class BasicHandlerAxisFaultpublic void onFault(MessageContext msgContext)
onFault in interface HandleronFault in class BasicHandlerpublic boolean canHandleBlock(QName qname)
Handler
canHandleBlock in interface HandlercanHandleBlock in class BasicHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||