public class TracingInterceptor
extends org.apache.tomcat.jdbc.pool.JdbcInterceptor
| Modifier and Type | Class and Description |
|---|---|
protected class |
TracingInterceptor.TracingStatementProxy |
| Modifier and Type | Field and Description |
|---|---|
protected static Constructor<?>[] |
constructors |
protected static String |
CREATE_STATEMENT |
protected static int |
CREATE_STATEMENT_INDEX |
protected static String |
EXECUTE |
protected static String |
EXECUTE_BATCH |
protected static String |
EXECUTE_QUERY |
protected static String[] |
EXECUTE_TYPES |
protected static String |
EXECUTE_UPDATE |
protected static String |
PREPARE_CALL |
protected static int |
PREPARE_CALL_INDEX |
protected static String |
PREPARE_STATEMENT |
protected static int |
PREPARE_STATEMENT_INDEX |
protected static int |
STATEMENT_TYPE_COUNT |
protected static String[] |
STATEMENT_TYPES |
| Constructor and Description |
|---|
TracingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createStatement(Object proxy,
Method method,
Object[] args,
Object statementObject) |
protected Constructor<?> |
getConstructor(int index,
Class<?> clazz)
Creates a constructor for a proxy class, if one doesn't already exist
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected boolean |
isMemberOf(String[] names,
Method method) |
void |
reset(org.apache.tomcat.jdbc.pool.ConnectionPool parent,
org.apache.tomcat.jdbc.pool.PooledConnection con) |
protected static final String CREATE_STATEMENT
protected static final int CREATE_STATEMENT_INDEX
protected static final String PREPARE_STATEMENT
protected static final int PREPARE_STATEMENT_INDEX
protected static final String PREPARE_CALL
protected static final int PREPARE_CALL_INDEX
protected static final String[] STATEMENT_TYPES
protected static final int STATEMENT_TYPE_COUNT
protected static final String EXECUTE
protected static final String EXECUTE_QUERY
protected static final String EXECUTE_UPDATE
protected static final String EXECUTE_BATCH
protected static final String[] EXECUTE_TYPES
protected static final Constructor<?>[] constructors
protected Constructor<?> getConstructor(int index, Class<?> clazz) throws NoSuchMethodException
index - - the index of the constructorclazz - - the interface that the proxy will implementNoSuchMethodExceptionpublic Object createStatement(Object proxy, Method method, Object[] args, Object statementObject)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerinvoke in class org.apache.tomcat.jdbc.pool.JdbcInterceptorThrowablepublic void reset(org.apache.tomcat.jdbc.pool.ConnectionPool parent,
org.apache.tomcat.jdbc.pool.PooledConnection con)
reset in class org.apache.tomcat.jdbc.pool.JdbcInterceptorCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.