|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xalan.lib.sql.ConnectionPoolManager
Constructor Summary | |
ConnectionPoolManager()
|
Method Summary | |
ConnectionPool |
getPool(String name)
Return the connection pool referenced by the name |
void |
init()
Initialize the internal structures of the Pool Manager |
void |
registerPool(String name,
ConnectionPool pool)
Register a nuew connection pool to the global pool table. |
void |
removePool(String name)
Remove a pool from the global table. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionPoolManager()
Method Detail |
public void init()
public void registerPool(String name, ConnectionPool pool)
name
- pool
-
IllegalArgumentException
,
- throw this exception
if a pool with the same name currently exists.public void removePool(String name)
name
- public ConnectionPool getPool(String name)
name
-
ConnectionPool
a reference to the ConnectionPool
object stored in the Pool Table. If the named pool does not exist, return
null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |