Class DefaultConnectionPoolFactory.DefaultConnectionPool
- java.lang.Object
-
- org.datanucleus.store.rdbms.connectionpool.DefaultConnectionPoolFactory.DefaultConnectionPool
-
- All Implemented Interfaces:
ConnectionPool
- Enclosing class:
- DefaultConnectionPoolFactory
public class DefaultConnectionPoolFactory.DefaultConnectionPool extends java.lang.Object implements ConnectionPool
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.sql.DataSource
dataSource
-
Constructor Summary
Constructors Constructor Description DefaultConnectionPool(javax.sql.DataSource ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Method to call when closing the StoreManager down, and consequently to close the pool.javax.sql.DataSource
getDataSource()
Accessor for the pooled DataSource.
-
-
-
Method Detail
-
close
public void close()
Description copied from interface:ConnectionPool
Method to call when closing the StoreManager down, and consequently to close the pool.- Specified by:
close
in interfaceConnectionPool
-
getDataSource
public javax.sql.DataSource getDataSource()
Description copied from interface:ConnectionPool
Accessor for the pooled DataSource.- Specified by:
getDataSource
in interfaceConnectionPool
- Returns:
- The DataSource
-
-