|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ds.fw.dbcon.FwConnPoolWrapper
| Constructor Summary | |
FwConnPoolWrapper()
Constructor of the FwConnPoolRapper class |
|
| Method Summary | |
java.sql.Connection |
getConnection()
Returns a connection from the first connection pool with an index 0 The method performs innitialisation of the connection pool, if it is not already done. |
java.sql.Connection |
getConnection(int k)
Returns a connection from the connection pool with an index k |
com.ds.fw.dbcon.FwConnPool |
getConnectionPool()
Returns the Connection Pool with an index equal to 0 |
com.ds.fw.dbcon.FwConnPool |
getConnectionPool(int k)
Returns a Connection Pool with a certain index |
com.ds.fw.dbcon.FwConnPool |
getConnectionPool(java.lang.String k)
|
static com.ds.fw.co.databroker.FwCoDataBroker |
getDataBroker()
|
static com.ds.fw.dbcon.FwConnPoolWrapper |
getInstance()
|
void |
KillAllConnPools()
Kills all of the Connection Pools, releases all the resources |
static void |
setDataBroker(com.ds.fw.co.databroker.FwCoDataBroker coDB)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FwConnPoolWrapper()
| Method Detail |
public static com.ds.fw.co.databroker.FwCoDataBroker getDataBroker()
public static void setDataBroker(com.ds.fw.co.databroker.FwCoDataBroker coDB)
public static com.ds.fw.dbcon.FwConnPoolWrapper getInstance()
public com.ds.fw.dbcon.FwConnPool getConnectionPool(int k)
k - the index of the connection pool.Starts from 0.
public com.ds.fw.dbcon.FwConnPool getConnectionPool(java.lang.String k)
public com.ds.fw.dbcon.FwConnPool getConnectionPool()
public java.sql.Connection getConnection(int k)
k - the index of the Connection Pool in the conn pool Vector.
public java.sql.Connection getConnection()
public void KillAllConnPools()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||