|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.JDBCConnectionPool
Handles the connection pooling for the JDBC Datasources.
Constructor Summary | |
JDBCConnectionPool()
|
Method Summary | |
static JDBCConnectionPool |
getInstance()
Return a reference to the JDBCConnectionPool. |
void |
releaseSelectConnection(java.sql.Connection inConnection)
Return a connection to the connection pool. |
void |
releaseUpdateConnection(java.sql.Connection inConnection)
Return a connection to the connection pool. |
java.sql.Connection |
requestSelectConnection(java.lang.String inURL,
java.lang.String inUsername,
java.lang.String inPassword)
Retrieve a connection from the connection pool. |
java.sql.Connection |
requestUpdateConnection(java.lang.String inURL,
java.lang.String inUsername,
java.lang.String inPassword)
Retrieve a connection from the connection pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCConnectionPool()
Method Detail |
public static JDBCConnectionPool getInstance()
public java.sql.Connection requestSelectConnection(java.lang.String inURL, java.lang.String inUsername, java.lang.String inPassword) throws java.sql.SQLException
java.sql.SQLException
public void releaseSelectConnection(java.sql.Connection inConnection) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Connection requestUpdateConnection(java.lang.String inURL, java.lang.String inUsername, java.lang.String inPassword) throws java.sql.SQLException
java.sql.SQLException
public void releaseUpdateConnection(java.sql.Connection inConnection) throws java.sql.SQLException
java.sql.SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |