public class DebugInvocationProcessor extends java.lang.Object implements XmlRpcInvocationProcessor
| Constructor and Description |
|---|
DebugInvocationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onException(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments,
java.lang.Throwable exception)
Prints trace info on the method, its arguments, and the exception it threw.
|
java.lang.Object |
postProcess(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments,
java.lang.Object returnValue)
Prints trace info on the method, its arguments, and its return value.
|
boolean |
preProcess(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments)
Does nothing.
|
public boolean preProcess(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments)
preProcess in interface XmlRpcInvocationProcessorcallId - A sequence number for tracing calls between preProcess() and
postProcess() calls. This is unique within each session. That is,
the sequence is restarted when the application restarts.handler - The name of the handler being called.method - The name of the method being called.arguments - The arguments that will be sent to the method.public java.lang.Object postProcess(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments,
java.lang.Object returnValue)
postProcess in interface XmlRpcInvocationProcessorcallId - A sequence number for tracing calls between preProcess() and
postProcess() calls. This is unique within each session. That is,
the sequence is restarted when the application restarts.handler - The name of the handler being called.method - The name of the method that just has returned.returnValue - The objects returned by the method. If the method
returned a primitive, it is wrapped in its object counterpart.public void onException(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments,
java.lang.Throwable exception)
onException in interface XmlRpcInvocationProcessorcallId - A sequence number for tracing calls between preProcess() and
postProcess() calls. This is unique within each session. That is,
the sequence is restarted when the application restarts.handler - The name of the handler being called.method - The name of the method that just has returned by throwing an
exception.exception - The exception thrown by the method.