Class C3P0ConnectionPoolFactory
- java.lang.Object
-
- org.datanucleus.store.rdbms.connectionpool.AbstractConnectionPoolFactory
-
- org.datanucleus.store.rdbms.connectionpool.C3P0ConnectionPoolFactory
-
- All Implemented Interfaces:
ConnectionPoolFactory
public class C3P0ConnectionPoolFactory extends AbstractConnectionPoolFactory
Plugin for the creation of a C3P0 connection pool. Note that all C3P0 classes are named explicitly in the code to avoid loading them at class initialisation. See http://www.mchange.com/projects/c3p0/index.html See http://www.sf.net/projects/c3p0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
C3P0ConnectionPoolFactory.C3P0ConnectionPool
-
Constructor Summary
Constructors Constructor Description C3P0ConnectionPoolFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionPool
createConnectionPool(org.datanucleus.store.StoreManager storeMgr)
Method to return a new ConnectionPool-
Methods inherited from class org.datanucleus.store.rdbms.connectionpool.AbstractConnectionPoolFactory
getPropertiesForDriver, loadDriver
-
-
-
-
Method Detail
-
createConnectionPool
public ConnectionPool createConnectionPool(org.datanucleus.store.StoreManager storeMgr)
Description copied from interface:ConnectionPoolFactory
Method to return a new ConnectionPool- Parameters:
storeMgr
- StoreManager that this will be used with- Returns:
- The ConnectionPool
-
-