public class TrapException extends JdbcInterceptor
CLOSE_VAL, EQUALS_VAL, GETCONNECTION_VAL, HASHCODE_VAL, ISCLOSED_VAL, ISVALID_VAL, ISWRAPPERFOR_VAL, properties, TOSTRING_VAL, UNWRAP_VAL| Constructor and Description |
|---|
TrapException() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Gets invoked each time an operation on
Connection is invoked. |
boolean |
isDeclaredException(java.lang.reflect.Method m,
java.lang.Class<?> clazz) |
void |
reset(ConnectionPool parent,
PooledConnection con)
no-op for this interceptor. no state is stored.
|
compare, compare, disconnected, getNext, getProperties, isUseEquals, poolClosed, poolStarted, setNext, setProperties, setUseEqualspublic java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
JdbcInterceptorConnection is invoked.
invoke in interface java.lang.reflect.InvocationHandlerinvoke in class JdbcInterceptorjava.lang.Throwablepublic boolean isDeclaredException(java.lang.reflect.Method m,
java.lang.Class<?> clazz)
public void reset(ConnectionPool parent, PooledConnection con)
reset in class JdbcInterceptorparent - - the connection pool owning the connectioncon - - the pooled connectionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.