|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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
The Log used for enterprise-centric logging. |
protected static org.apache.commons.logging.Log |
log
The Log used to log all events that would be of general
interest. |
protected Handler |
workHandler
The Handler that will do the actual work of handeling the
fault. |
| Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
| 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, 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
Log used to log all events that would be of general
interest.
protected static org.apache.commons.logging.Log entLog
Log used for enterprise-centric logging.
The enterprise category is for stuff that an enterprise product might
want to track, but in a simple environment (like the AXIS build) would
be nothing more than a nuisance.
protected Handler workHandler
Handler that will do the actual work of handeling the
fault.
| 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
msgContext - the MessageContext to process
AxisFault - if anything goes terminally wrongpublic void onFault(MessageContext msgContext)
onFault in interface HandleronFault in class BasicHandlermsgContext - the context to processpublic boolean canHandleBlock(QName qname)
Handlerqname.
canHandleBlock in interface HandlercanHandleBlock in class BasicHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||