## 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 GenericObjectPool<PoolableConnection>` | BasicDataSource.`createObjectPool(PoolableConnectionFactory factory, GenericObjectPoolConfig<PoolableConnection> poolConfig, AbandonedConfig abandonedConfig)` Creates an object pool used to provide pooling support for `JDBC connections`.
    `protected GenericObjectPool<PoolableConnection>` | BasicDataSource.`getConnectionPool()`
    `ObjectPool<PoolableConnection>` | PoolableConnectionFactory.`getPool()` Returns the `ObjectPool` in which `Connection`s are pooled.
    `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(PooledObject<PoolableConnection> p)`
    `protected GenericObjectPool<PoolableConnection>` | BasicDataSource.`createObjectPool(PoolableConnectionFactory factory, GenericObjectPoolConfig<PoolableConnection> poolConfig, AbandonedConfig abandonedConfig)` Creates an object pool used to provide pooling support for `JDBC connections`.
    `void` | PoolableConnectionFactory.`destroyObject(PooledObject<PoolableConnection> p)`
    `void` | PoolableConnectionFactory.`passivateObject(PooledObject<PoolableConnection> p)`
    `void` | PoolableConnectionFactory.`setPool(ObjectPool<PoolableConnection> pool)` Sets the `ObjectPool` in which to pool `Connection`s.
    `boolean` | PoolableConnectionFactory.`validateObject(PooledObject<PoolableConnection> p)`

    Constructor parameters in org.apache.commons.dbcp2 with type arguments of type PoolableConnection
    Constructor and Description
    `PoolableConnection(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxName)`
    `PoolableConnection(Connection conn, ObjectPool<PoolableConnection> pool, ObjectName jmxObjectName, Collection<String> disconnectSqlCodes, boolean fastFailValidation)`

  - ### 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
    --- | ---
    `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, ObjectPool<PoolableConnection> pool)` Create a PoolableManagedConnection.
    `PoolableManagedConnection(TransactionRegistry transactionRegistry, Connection conn, ObjectPool<PoolableConnection> pool, Collection<String> disconnectSqlCodes, boolean fastFailValidation)` Create a PoolableManagedConnection.

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