org.apache.axis
public class FaultableHandler extends BasicHandler
FaultableHandler is essentially a wrapper for any other
Handler which provides flexible fault handling semantics.
| Field Summary | |
|---|---|
| protected static Log | entLog
The Log used for enterprise-centric logging.
|
| protected static 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. |
| Constructor Summary | |
|---|---|
| FaultableHandler(Handler workHandler)
Create a new FaultHandler.
| |
| Method Summary | |
|---|---|
| boolean | canHandleBlock(QName qname) |
| void | cleanup() |
| void | init() |
| 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.
|
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.Log used to log all events that would be of general
interest.Handler that will do the actual work of handeling the
fault.Parameters: workHandler the Handler we're going to wrap with Fault semantics.
Parameters: msgContext the MessageContext to process
Throws: AxisFault if anything goes terminally wrong
Parameters: msgContext the context to process