public class ConnectionPoolManager
extends java.lang.Object
| Constructor and Description |
|---|
ConnectionPoolManager() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPool |
getPool(java.lang.String name)
Return the connection pool referenced by the name
|
void |
registerPool(java.lang.String name,
ConnectionPool pool)
Register a nuew connection pool to the global pool table.
|
void |
removePool(java.lang.String name)
Remove a pool from the global table.
|
public void registerPool(java.lang.String name,
ConnectionPool pool)
name - pool - IllegalArgumentException, - throw this exception
if a pool with the same name currently exists.public void removePool(java.lang.String name)
name - public ConnectionPool getPool(java.lang.String name)
name - ConnectionPool a reference to the ConnectionPool
object stored in the Pool Table. If the named pool does not exist, return
nullCopyright © 2023 Apache XML Project. All Rights Reserved.