com.ibm.di.util
Class RecordAL
java.lang.Object
com.ibm.di.util.RecordAL
- All Implemented Interfaces:
- InvocationHandler
public class RecordAL
- extends Object
- implements InvocationHandler
This class interposes connectors to record and playback all operations
performed by the connector. Every method call is intercepted and the result
is stored in a table for later playback.
The table is created by using the StoreFactory requesting a table name of
"SANDBOX_".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static Object newInstance(String prefix,
Object obj,
String database,
boolean record)
- Utility method to return a new proxy instance for a given object.
- Parameters:
obj
- The java object to interpose.
- Returns:
- A proxy object interposing obj
newInstance
public static Object newInstance(String prefix,
Object obj,
String database,
boolean record,
Class<?>[] interfaces)
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
- This method is called for every method call to the target object.
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable