|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Title: ConnectionPoolManager.java
Description: Interface that defines a Module to
facilitate the acquisition of JDBC connection pools for database access.
License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Method Summary | |
ConnectionPool |
getPool()
Gets the default Connection Pool. |
ConnectionPool |
getPool(java.lang.String poolName)
Gets the specified connection pool. |
| Method Detail |
public 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.
public 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 | ||||||||||