public interface DriverInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
INTERFACE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
postInvokeCallback(Object vendorObj,
String methodName,
Object[] params,
Object ret)
WebLogic Server will invoke this method AFTER it calls a method
in the JDBC driver.
|
void |
postInvokeExceptionCallback(Object vendorObj,
String methodName,
Object[] params,
Throwable error)
WebLogic Server will invoke this method AFTER it calls a method
in the JDBC driver.
|
Object |
preInvokeCallback(Object vendorObj,
String methodName,
Object[] params)
WebLogic Server will invoke this method BEFORE it calls a method
in the JDBC driver.
|
static final String INTERFACE_NAME
Object preInvokeCallback(Object vendorObj, String methodName, Object[] params) throws SQLException
vendorObj - object who's method is being invokedmethodName - name of method being invokedparams - arguments to the method being invokedSQLException - WLS will SKIP method invokation, and will
rethrow this exceptionvoid postInvokeCallback(Object vendorObj, String methodName, Object[] params, Object ret) throws SQLException
vendorObj - object who's method was invokedmethodName - name of invoked methodparams - arguments to the invoked methodret - output of the invoked methodSQLException - WLS will rethrow this exceptionvoid postInvokeExceptionCallback(Object vendorObj, String methodName, Object[] params, Throwable error) throws SQLException
vendorObj - object who's method was invokedmethodName - name of invoked methodparams - arguments to the invoked methoderror - exception thrown from the invoked methodSQLException - WLS will rethrow this exception