|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.jdbc.ConnectionPoolManager
Provides a Singleton manager of connection pools.
Method Summary | |
void |
closeAll()
|
void |
free(ConnectionPool pool)
|
ConnectionPool |
getConnectionPool(javax.sql.ConnectionPoolDataSource cpds)
Gets a ConnectionPool for a ConnectionPoolDataSource. |
static ConnectionPoolManager |
getInstance()
Gets the instance of the ConnectionPoolManager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ConnectionPoolManager getInstance()
public ConnectionPool getConnectionPool(javax.sql.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 |