Class TomcatConnectionPoolFactory
- java.lang.Object
-
- org.datanucleus.store.rdbms.connectionpool.AbstractConnectionPoolFactory
-
- org.datanucleus.store.rdbms.connectionpool.TomcatConnectionPoolFactory
-
- All Implemented Interfaces:
ConnectionPoolFactory
public class TomcatConnectionPoolFactory extends AbstractConnectionPoolFactory
Plugin for the creation of a Tomcat JDBC connection pool. Note that all Tomcat JDBC classes are named explicitly in the code to avoid loading them at class initialisation. http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TomcatConnectionPoolFactory.TomcatConnectionPool
-
Constructor Summary
Constructors Constructor Description TomcatConnectionPoolFactory()
-
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
-
-