## Uses of Class
org.apache.commons.dbcp2.PoolableConnection

- Packages that use PoolableConnection
  Package | Description
  --- | ---
  org.apache.commons.dbcp2 | Database Connection Pool API.
  org.apache.commons.dbcp2.managed | This package provides support for pooling of ManagedConnections.

- - ### Uses of PoolableConnection in org.apache.commons.dbcp2

    Methods in org.apache.commons.dbcp2 that return types with arguments of type PoolableConnection
    Modifier and Type | Method and Description
    --- | ---
    `protected org.apache.commons.pool2.impl.GenericObjectPool<PoolableConnection>` | BasicDataSource.`getConnectionPool()`
    `org.apache.commons.pool2.ObjectPool<PoolableConnection>` | PoolableConnectionFactory.`getPool()` Returns the `ObjectPool` in which `Connection`s are pooled.
    `org.apache.commons.pool2.PooledObject<PoolableConnection>` | PoolableConnectionFactory.`makeObject()`

    Methods in org.apache.commons.dbcp2 with parameters of type PoolableConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | PoolableConnectionFactory.`validateConnection(PoolableConnection conn)`

    Method parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | PoolableConnectionFactory.`activateObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p)`
    `void` | PoolableConnectionFactory.`destroyObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p)`
    `void` | PoolableConnectionFactory.`passivateObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p)`
    `void` | PoolableConnectionFactory.`setPool(org.apache.commons.pool2.ObjectPool<PoolableConnection> pool)` Sets the `ObjectPool` in which to pool `Connection`s.
    `boolean` | PoolableConnectionFactory.`validateObject(org.apache.commons.pool2.PooledObject<PoolableConnection> p)`

    Constructor parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnection
    Constructor and Description
    `PoolableConnection(Connection conn, org.apache.commons.pool2.ObjectPool<PoolableConnection> pool, ObjectName jmxName)`

  - ### Uses of PoolableConnection in org.apache.commons.dbcp2.managed

    Subclasses of PoolableConnection in org.apache.commons.dbcp2.managed
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PoolableManagedConnection` PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.

    Methods in org.apache.commons.dbcp2.managed that return types with arguments of type PoolableConnection
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.commons.pool2.PooledObject<PoolableConnection>` | PoolableManagedConnectionFactory.`makeObject()` Uses the configured XAConnectionFactory to create a `PoolableManagedConnection`.

    Constructor parameters in org.apache.commons.dbcp2.managed with type arguments of type PoolableConnection
    Constructor and Description
    `PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, org.apache.commons.pool2.ObjectPool<PoolableConnection> pool)` Create a PoolableManagedConnection.

Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.