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 |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Gets invoked each time an operation on
Connection is invoked. |
boolean |
isDeclaredException(Method m,
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 Object invoke(Object proxy, Method method, Object[] args) throws Throwable
JdbcInterceptorConnection is invoked.
invoke in interface InvocationHandlerinvoke in class JdbcInterceptorThrowablepublic void reset(ConnectionPool parent, PooledConnection con)
reset in class JdbcInterceptorparent - - the connection pool owning the connectioncon - - the pooled connectionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.