|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectConnectionPoolManager
DataSource
, DataSourceUtil
and DataSourceFinder
instead
public class ConnectionPoolManager
Provides a Singleton manager of connection pools.
modules/library/jdbc (gt-jdbc.jar)
Method Summary | |
---|---|
void |
closeAll()
Deprecated. |
void |
free(ConnectionPool pool)
Deprecated. |
ConnectionPool |
getConnectionPool(ConnectionPoolDataSource cpds)
Deprecated. Gets a ConnectionPool for a ConnectionPoolDataSource. |
static ConnectionPoolManager |
getInstance()
Deprecated. Gets the instance of the ConnectionPoolManager. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ConnectionPoolManager getInstance()
public ConnectionPool getConnectionPool(ConnectionPoolDataSource cpds)
This method will return a connection pool that contains the ConnectionPoolDataSource. If a ConnectionPool exists that already contains the ConnectionPoolDataSource, it will be returned, otherwise a ConnectionPool will be created for the ConnectionPoolDataSource.
cpds
- The ConnectionPoolDataSource to get a ConnectionPool for.
public void free(ConnectionPool pool)
public void closeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |