|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionPoolManager
Title: ConnectionPoolManager.java
Description: Interface that defines a Module to
facilitate the acquisition of JDBC connection pools for database access.
| Method Summary | |
|---|---|
ConnectionPool |
getPool()
Gets the default Connection Pool. |
ConnectionPool |
getPool(java.lang.String poolName)
Gets the specified connection pool. |
| Method Detail |
|---|
ConnectionPool getPool(java.lang.String poolName)
throws ConnectionPoolNotFoundException
Gets the specified connection pool.
poolName - The name of the specified connection pool.
ConnectionPoolNotFoundException - If the specified connection pool
cannot be found.
ConnectionPool getPool()
throws ConnectionPoolNotFoundException
Gets the default Connection Pool. Overrides
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||