|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basecmp.core.jdbc.NamedConnectionPool
JDBC-Connection-Factory für JDBC-Connections aus einen benannten JDBC-Connection-Pool.
| Field Summary | |
static boolean |
enableProfiling
|
| Constructor Summary | |
NamedConnectionPool()
|
|
| Method Summary | |
protected void |
finalize()
|
void |
freeConnection(java.sql.Connection connection)
Befreit und schliesst ggf die übergebene, anonyme JDBC-Connection (implmentierungsabhängig). |
void |
freeConnection(java.lang.String poolName,
java.sql.Connection connection)
Befreit und schliesst ggf die übergebene, benannte JDBC-Connection (implmentierungsabhängig). |
java.sql.Connection |
getConnection()
Liefert eine JDBC-Connection aus dem Default-Connection-Pool. |
java.sql.Connection |
getConnection(java.lang.String poolName)
Liefert aus dem benannten Pool eine JDBC-Connection. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean enableProfiling
| Constructor Detail |
public NamedConnectionPool()
| Method Detail |
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable
public void freeConnection(java.sql.Connection connection)
throws java.sql.SQLException
IConnectionFactory
freeConnection in interface IConnectionFactoryjava.sql.SQLException
public void freeConnection(java.lang.String poolName,
java.sql.Connection connection)
throws java.sql.SQLException
IConnectionFactory
freeConnection in interface IConnectionFactoryjava.sql.SQLException
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface IConnectionFactoryjava.sql.SQLException
public java.sql.Connection getConnection(java.lang.String poolName)
throws java.sql.SQLException
getConnection in interface IConnectionFactoryjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||