|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiftone.exq.impl.util.LoggingInvocationHandler
Class LoggingInvocationHandler
Constructor Summary | |
LoggingInvocationHandler(java.lang.Object target,
java.lang.Class iface)
Warning it is assumed that the dynamic proxy that this InvocationHandler is used by will not implement more interfaces than the target object implements. |
Method Summary | |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
handle invocations of the proxy object, and forward them to the target object, logging along the way. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoggingInvocationHandler(java.lang.Object target, java.lang.Class iface)
target
- iface
- Method Detail |
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
proxy
- method
- args
-
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |