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 | Method and Description |
---|---|
protected PoolableConnectionFactory |
BasicDataSource.createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)
Creates the PoolableConnectionFactory and attaches it to the connection pool.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicDataSource.createConnectionPool(PoolableConnectionFactory factory)
Creates a connection pool for this datasource.
|
protected GenericObjectPool<PoolableConnection> |
BasicDataSource.createObjectPool(PoolableConnectionFactory factory,
GenericObjectPoolConfig poolConfig,
AbandonedConfig abandonedConfig)
Creates an object pool used to provide pooling support for
JDBC connections . |
protected static void |
BasicDataSource.validateConnectionFactory(PoolableConnectionFactory connectionFactory) |
Modifier and Type | Class and Description |
---|---|
class |
PoolableManagedConnectionFactory
A
PoolableConnectionFactory that creates PoolableManagedConnection s. |
Modifier and Type | Method and Description |
---|---|
protected PoolableConnectionFactory |
BasicManagedDataSource.createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)
Creates the PoolableConnectionFactory and attaches it to the connection pool.
|
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.