com.waveset.adapter
Class PeopleSoftCompIntfcAdapter.JOAInvocationHandler
java.lang.Object
com.waveset.adapter.PeopleSoftCompIntfcAdapter.JOAInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- Enclosing class:
- PeopleSoftCompIntfcAdapter
- public static class PeopleSoftCompIntfcAdapter.JOAInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
An invocation handler for a dynamic proxy around an IObject which performs verbose
tracing before and after the IObject invocation.
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
|
static psft.pt8.joa.IObject |
newInstance(psft.pt8.joa.IObject obj,
java.lang.String label)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static psft.pt8.joa.IObject newInstance(psft.pt8.joa.IObject obj,
java.lang.String label)
- Parameters:
obj
- The object the proxy eventually should invokelabel
- A nice name for this object used in the tracing
- Returns:
- if trace level is at 4, then return a logging dynamic proxy.
Otherwise, return obj directly back.
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable