Class DisposableConnectionFacade

java.lang.Object
org.apache.tomcat.jdbc.pool.JdbcInterceptor
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade
All Implemented Interfaces:
InvocationHandler

public class DisposableConnectionFacade extends JdbcInterceptor
A DisposableConnectionFacade object is the top most interceptor that wraps an object of type PooledConnection. The DisposableConnectionFacade intercepts two methods:
  • Connection.close() - returns the connection to the pool then breaks the link between cutoff and the next interceptor. May be called multiple times.
  • Object.toString() - returns a custom string for this object
By default method comparisons is done on a String reference level, unless the PoolConfiguration.setUseEquals(boolean) has been called with a true argument.