public interface ConnectionPoolManager
Module to facilitate the acquisition
of JDBC connection pools for database access.| Modifier and Type | Method and Description |
|---|---|
ConnectionPool |
getPool()
Gets the default Connection Pool.
|
ConnectionPool |
getPool(String poolName)
Gets the specified connection pool.
|
ConnectionPool getPool(String poolName) throws ConnectionPoolNotFoundException
poolName - The name of the specified connection pool.ConnectionPoolNotFoundException - If the specified connection pool cannot be found.ConnectionPool getPool() throws ConnectionPoolNotFoundException
getPool(String poolName) to return the default connection
pool when no specific pool name is provided as an argument.ConnectionPoolNotFoundException - If the default connection pool cannot be found.Copyright © 2013 DuraSpace. All Rights Reserved.