Class DBCP2ConnectionPoolFactory
java.lang.Object
org.datanucleus.store.rdbms.connectionpool.AbstractConnectionPoolFactory
org.datanucleus.store.rdbms.connectionpool.DBCP2ConnectionPoolFactory
- All Implemented Interfaces:
ConnectionPoolFactory
Plugin for the creation of a DBCP2 connection pool.
Note that all Apache DBCP classes are named explicitly in the code to avoid loading them at class initialisation.
(see http://jakarta.apache.org/commons/dbcp/). Also see
http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/package-summary.html#package_description
for javadocs that give pretty much the only useful description of DBCP2.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConnectionPool
(org.datanucleus.store.StoreManager storeMgr) Method to return a new ConnectionPoolMethods inherited from class org.datanucleus.store.rdbms.connectionpool.AbstractConnectionPoolFactory
getPropertiesForDriver, loadDriver
-
Constructor Details
-
DBCP2ConnectionPoolFactory
public DBCP2ConnectionPoolFactory()
-
-
Method Details
-
createConnectionPool
Description copied from interface:ConnectionPoolFactory
Method to return a new ConnectionPool- Parameters:
storeMgr
- StoreManager that this will be used with- Returns:
- The ConnectionPool
-