public class ConnectionPoolManager extends Object
| Constructor and Description |
|---|
ConnectionPoolManager() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPool |
getPool(String name)
Return the connection pool referenced by the name
|
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.
|
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
nullCopyright © 2017 JBoss by Red Hat. All rights reserved.