| Package | Description | 
|---|---|
| org.apache.commons.dbcp2 | 
 Database Connection Pool API. | 
| org.apache.commons.dbcp2.managed | 
 This package provides support for pooling of ManagedConnections. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DataSourceConnectionFactoryA  DataSource-based implementation ofConnectionFactory. | 
| class  | DriverConnectionFactoryA  Driver-based implementation ofConnectionFactory. | 
| class  | DriverManagerConnectionFactoryA  DriverManager-based implementation ofConnectionFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ConnectionFactory | BasicDataSource. createConnectionFactory()Creates a JDBC connection factory for this datasource. | 
| protected ConnectionFactory | PoolableConnectionFactory. getConnectionFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PoolableConnectionFactory | BasicDataSource. createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)Creates the PoolableConnectionFactory and attaches it to the connection pool. | 
| Constructor and Description | 
|---|
| PoolableConnectionFactory(ConnectionFactory connFactory,
                         ObjectName dataSourceJmxObjectName)Creates a new  PoolableConnectionFactory. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | XAConnectionFactoryXAConnectionFactory is an extension of ConnectionFactory used to create connections in a transaction managed
 environment. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DataSourceXAConnectionFactoryAn implementation of XAConnectionFactory which uses a real XADataSource to obtain connections and XAResources. | 
| class  | LocalXAConnectionFactoryAn implementation of XAConnectionFactory which manages non-XA connections in XA transactions. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ConnectionFactory | BasicManagedDataSource. createConnectionFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PoolableConnectionFactory | BasicManagedDataSource. createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)Creates the PoolableConnectionFactory and attaches it to the connection pool. | 
| Constructor and Description | 
|---|
| LocalXAConnectionFactory(TransactionManager transactionManager,
                        ConnectionFactory connectionFactory)Creates an LocalXAConnectionFactory which uses the specified connection factory to create database connections. | 
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.