Class PoolableManagedConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.Connection, java.sql.Wrapper, PoolableConnectionMXBean, org.apache.commons.pool2.TrackedUse

    public class PoolableManagedConnection
    extends PoolableConnection
    PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.
    Since:
    2.0
    Version:
    $Id: PoolableManagedConnection.java 1649430 2015-01-04 21:29:32Z tn $
    See Also:
    PoolableConnection
    • Constructor Detail

      • PoolableManagedConnection

        public PoolableManagedConnection​(TransactionRegistry transactionRegistry,
                                         java.sql.Connection conn,
                                         org.apache.commons.pool2.ObjectPool<PoolableConnection> pool)
        Create a PoolableManagedConnection.
        Parameters:
        transactionRegistry - transaction registry
        conn - underlying connection
        pool - connection pool