|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.database.ConnectionPoolProxy
public final class ConnectionPoolProxy
Distribute connection pools.
Connection pools are managed by class ConnectionPool
.
Constructor Summary | |
---|---|
ConnectionPoolProxy()
|
Method Summary | |
---|---|
static boolean |
exit()
Execute the ConnectionPool.exit() of all opened
connection pools. |
static ConnectionPool |
get(java.lang.String poolName)
Get a connection pool. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionPoolProxy()
Method Detail |
---|
public static ConnectionPool get(java.lang.String poolName) throws java.lang.Exception
connectionPools
then
the method create(java.lang.String)
is called for istantiate one.
poolName
- the connection pool name as defined in key
db_resources_names of file jfw.properties.
ConnectionPool
object.
java.lang.Exception
public static boolean exit()
ConnectionPool.exit()
of all opened
connection pools.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |