public class DBCP2ConnectionPoolFactory.DBCPConnectionPool extends Object implements ConnectionPool
| Constructor and Description |
|---|
DBCPConnectionPool(org.apache.commons.dbcp2.PoolingDataSource ds,
org.apache.commons.pool2.ObjectPool pool) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Method to call when closing the StoreManager down, and consequently to close the pool.
|
DataSource |
getDataSource()
Accessor for the pooled DataSource.
|
public DBCPConnectionPool(org.apache.commons.dbcp2.PoolingDataSource ds,
org.apache.commons.pool2.ObjectPool pool)
public void close()
ConnectionPoolclose in interface ConnectionPoolpublic DataSource getDataSource()
ConnectionPoolgetDataSource in interface ConnectionPoolCopyright © 2019. All rights reserved.