Class C3P0ConnectionPoolFactory.C3P0ConnectionPool
- java.lang.Object
-
- org.datanucleus.store.rdbms.connectionpool.C3P0ConnectionPoolFactory.C3P0ConnectionPool
-
- All Implemented Interfaces:
ConnectionPool
- Enclosing class:
- C3P0ConnectionPoolFactory
public class C3P0ConnectionPoolFactory.C3P0ConnectionPool extends Object implements ConnectionPool
-
-
Constructor Summary
Constructors Constructor Description C3P0ConnectionPool(com.mchange.v2.c3p0.PooledDataSource ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Method to call when closing the StoreManager down, and consequently to close the pool.DataSourcegetDataSource()Accessor for the pooled DataSource.
-
-
-
Method Detail
-
close
public void close()
Description copied from interface:ConnectionPoolMethod to call when closing the StoreManager down, and consequently to close the pool.- Specified by:
closein interfaceConnectionPool
-
getDataSource
public DataSource getDataSource()
Description copied from interface:ConnectionPoolAccessor for the pooled DataSource.- Specified by:
getDataSourcein interfaceConnectionPool- Returns:
- The DataSource
-
-