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

Packages that use PoolableConnectionFactory
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 PoolableConnectionFactory in org.apache.commons.dbcp2

  Methods in org.apache.commons.dbcp2 that return PoolableConnectionFactory
  Modifier and Type
  Method
  Description
  `protected PoolableConnectionFactory`
  BasicDataSource.`createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)`
  Creates the PoolableConnectionFactory and attaches it to the connection pool.
  Methods in org.apache.commons.dbcp2 with parameters of type PoolableConnectionFactory
  Modifier and Type
  Method
  Description
  `protected void`
  BasicDataSource.`createConnectionPool(PoolableConnectionFactory factory)`
  Creates a connection pool for this datasource.
  `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 static void`
  BasicDataSource.`validateConnectionFactory(PoolableConnectionFactory connectionFactory)`
  Validates the given factory.

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

  Subclasses of PoolableConnectionFactory in org.apache.commons.dbcp2.managed
  Modifier and Type
  Class
  Description
  `class`
  `PoolableManagedConnectionFactory`
  A `PoolableConnectionFactory` that creates `PoolableManagedConnection`s.
  Methods in org.apache.commons.dbcp2.managed that return PoolableConnectionFactory
  Modifier and Type
  Method
  Description
  `protected PoolableConnectionFactory`
  BasicManagedDataSource.`createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)`
  Creates the PoolableConnectionFactory and attaches it to the connection pool.