Class StatementDecoratorInterceptor.StatementProxy<T extends Statement>
java.lang.Object
org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy<T>
- All Implemented Interfaces:
- InvocationHandler
- Direct Known Subclasses:
- StatementCache.CachedStatement
- Enclosing class:
- StatementDecoratorInterceptor
protected class StatementDecoratorInterceptor.StatementProxy<T extends Statement>
extends Object
implements InvocationHandler
Class to measure query execute time.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidConstructor<?>getSql()voidsetActualProxy(Object proxy) voidsetConnection(Object proxy) voidsetConstructor(Constructor<?> constructor) toString()
- 
Field Details- 
closedprotected boolean closed
- 
delegate
 
- 
- 
Constructor Details- 
StatementProxy
 
- 
- 
Method Details- 
getDelegate
- 
getSql
- 
setConnection
- 
getConnection
- 
setActualProxy
- 
getActualProxy
- 
getConstructor
- 
setConstructor
- 
closeInvokedpublic void closeInvoked()
- 
invoke- Specified by:
- invokein interface- InvocationHandler
- Throws:
- Throwable
 
- 
toString
 
-