|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colle.sql.ConnectionManager
Gets and releases connections to a JDBC datasource. Created: 23 Apr 2001
Nested Class Summary | |
static class |
ConnectionManager.Configuration
|
Method Summary | |
static Connection |
getConnection()
Gets a new database connection. |
static Connection |
getConnection(ConnectionManager.Configuration pxConfig)
|
static Connection |
getConnection(String psDatabase)
Gets a new database connection. |
static boolean |
getDebug()
|
static List |
getOpenConnectionsStackTraces()
Returns a list of strings containing stack traces identifying the code that allocated each of the outstanding database connections. |
static List |
getOpenConnectionsStackTraces(ConnectionManager.Configuration pxConfig)
|
static void |
releaseConnection(Connection pxConnection)
Releases a database connection after it's use. |
static void |
releaseConnection(Connection pxConnection,
ConnectionManager.Configuration pxConfig)
|
static void |
setDebug(boolean pbDebug)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Connection getConnection()
public static Connection getConnection(String psDatabase)
public static Connection getConnection(ConnectionManager.Configuration pxConfig)
public static void releaseConnection(Connection pxConnection)
public static void releaseConnection(Connection pxConnection, ConnectionManager.Configuration pxConfig)
public static List getOpenConnectionsStackTraces()
public static List getOpenConnectionsStackTraces(ConnectionManager.Configuration pxConfig)
public static boolean getDebug()
public static void setDebug(boolean pbDebug)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |