Uses of Class
org.apache.tomcat.jdbc.pool.JdbcInterceptor
Packages that use JdbcInterceptor
-
Uses of JdbcInterceptor in org.apache.tomcat.jdbc.pool
Subclasses of JdbcInterceptor in org.apache.tomcat.jdbc.poolModifier and TypeClassDescriptionclassA DisposableConnectionFacade object is the top most interceptor that wraps an object of typePooledConnection.classA ProxyConnection object is the bottom most interceptor that wraps an object of typePooledConnection.classFacade that creates statement and result set proxies.classInterceptor that traps any unhandled exception types and throws an exception that has been declared by the method called, or throw an SQLException if it is declared.Methods in org.apache.tomcat.jdbc.pool that return JdbcInterceptorModifier and TypeMethodDescriptionPooledConnection.getHandler()Returns the first handler in the interceptor chainJdbcInterceptor.getNext()Returns the next interceptor in the chainMethods in org.apache.tomcat.jdbc.pool that return types with arguments of type JdbcInterceptorModifier and TypeMethodDescriptionClass<? extends JdbcInterceptor> PoolProperties.InterceptorDefinition.getInterceptorClass()Returns the interceptor class, loading it if necessary.Methods in org.apache.tomcat.jdbc.pool with parameters of type JdbcInterceptorModifier and TypeMethodDescriptionvoidPooledConnection.setHandler(JdbcInterceptor handler) Sets the interceptor chain handler for this connection.voidJdbcInterceptor.setNext(JdbcInterceptor next) configures the next interceptor in the chainConstructors in org.apache.tomcat.jdbc.pool with parameters of type JdbcInterceptorModifierConstructorDescriptionprotectedDisposableConnectionFacade(JdbcInterceptor interceptor) Construct a DisposableConnectionFacade that wraps the given interceptor.protectedStatementFacade(JdbcInterceptor interceptor) Constructs a StatementFacade. -
Uses of JdbcInterceptor in org.apache.tomcat.jdbc.pool.interceptor
Subclasses of JdbcInterceptor in org.apache.tomcat.jdbc.pool.interceptorModifier and TypeClassDescriptionclassAbstraction interceptor.classAbstract class that wraps statements and intercepts query executions.classInterceptor that keep track of connection state to avoid roundtrips to the database.classInterceptor that sets a query timeout on every createdStatement.classClass that resets the abandoned timer on any activity on the Connection, on any query execution and on any read of aResultSetreturned by a statement obtained from the pooled connection, whether the operation completed successfully or failed.classSlow query report interceptor.classJMX-enabled slow query report interceptor.classInterceptor that cachesPreparedStatementand/orCallableStatementinstances on a connection.classImplementation of JdbcInterceptor that proxies resultSets and statements.classKeeps track of statements associated with a connection and invokes close uponConnection.close()Useful for applications that don't close the associated statements after being done with a connection.