|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basecmp.core.jdbc.JNDIConnectionFactory
ConnectionFactory für die Verwendung in BaseCMP, implementiert auf Basis einer Datasource.
| Field Summary | |
static boolean |
enableProfiling
|
| Constructor Summary | |
JNDIConnectionFactory()
|
|
| Method Summary | |
void |
freeConnection(java.sql.Connection connection)
Befreit und schliesst ggf die übergebene, anonyme JDBC-Connection (implmentierungsabhängig). |
void |
freeConnection(java.lang.String name,
java.sql.Connection connection)
Befreit und schliesst ggf die übergebene, benannte JDBC-Connection (implmentierungsabhängig). |
java.sql.Connection |
getConnection()
Liefert, abhängig von der Implementierung, eine anonyme oder Default-JDBC-Connection |
java.sql.Connection |
getConnection(java.lang.String name)
Liefert eine benannte JDBC-Connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean enableProfiling
| Constructor Detail |
public JNDIConnectionFactory()
| Method Detail |
public void freeConnection(java.sql.Connection connection)
throws java.sql.SQLException
IConnectionFactory
freeConnection in interface IConnectionFactoryjava.sql.SQLException
public void freeConnection(java.lang.String name,
java.sql.Connection connection)
throws java.sql.SQLException
IConnectionFactory
freeConnection in interface IConnectionFactoryjava.sql.SQLException
public java.sql.Connection getConnection()
throws java.sql.SQLException
IConnectionFactory
getConnection in interface IConnectionFactoryjava.sql.SQLException
public java.sql.Connection getConnection(java.lang.String name)
throws java.sql.SQLException
IConnectionFactory
getConnection in interface IConnectionFactoryjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||