Class DisposableConnectionFacade

  • All Implemented Interfaces:

    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.
    • Constructor Detail

      • DisposableConnectionFacade

        protected DisposableConnectionFacade​(JdbcInterceptor interceptor)