|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.handlers.BasicHandler (src)
org.jboss.axis.handlers.LogHandler
A simple Handler which logs the request and response messages to either the console or a specified file (default "axis.log").
To use this, deploy it either in both the request and response flows (global, service, or transport) or in just the response flow. If deployed in both places, you'll also get an elapsed time indication, which can be handy for debugging.
| Field Summary |
| Fields inherited from class org.jboss.axis.handlers.BasicHandler (src) |
makeLockable, name, options |
| Constructor Summary | |
LogHandler()
|
|
| Method Summary | |
void |
init()
Stubbed-out methods. |
void |
invoke(MessageContext (src) msgContext)
Must implement this in subclasses. |
void |
onFault(MessageContext (src) msgContext)
Called when a subsequent handler throws a fault. |
| Methods inherited from class org.jboss.axis.handlers.BasicHandler (src) |
canHandleBlock, cleanup, 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 |
| Constructor Detail |
public LogHandler()
| Method Detail |
public void init()
BasicHandler (src)
init in interface Handler (src) init in class BasicHandler (src)
public void invoke(MessageContext (src) msgContext)
throws AxisFault (src)
BasicHandler (src)
invoke in interface Handler (src) invoke in class BasicHandler (src) AxisFault (src) public void onFault(MessageContext (src) msgContext)
Handler (src)
onFault in interface Handler (src) onFault in class BasicHandler (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||