|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectredstone.xmlrpc.interceptors.DebugInvocationInterceptor
public class DebugInvocationInterceptor
Simple invocation processor that traces the calls made through an XmlRpcServer. This is used for debugging purposes only. This may be replaced with a more competent logging processor that perhaps is only logging exceptions that occur.
| Constructor Summary | |
|---|---|
DebugInvocationInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
after(XmlRpcInvocation invocation,
java.lang.Object returnValue)
Prints trace info on the invocation return value. |
boolean |
before(XmlRpcInvocation invocation)
Prints info on the invocation, the method, and its arguments. |
void |
onException(XmlRpcInvocation invocation,
java.lang.Throwable exception)
Prints trace info on the invocation exception. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugInvocationInterceptor()
| Method Detail |
|---|
public boolean before(XmlRpcInvocation invocation)
before in interface XmlRpcInvocationInterceptorinvocation - The invocation.
public java.lang.Object after(XmlRpcInvocation invocation,
java.lang.Object returnValue)
after in interface XmlRpcInvocationInterceptorinvocation - The invocation.returnValue - The value returned from the method.
public void onException(XmlRpcInvocation invocation,
java.lang.Throwable exception)
onException in interface XmlRpcInvocationInterceptorinvocation - The invocation.invocation - The exception thrown by the method.exception - The exception thrown by the method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||