Package de.xima.fc.db
Class DBAccessPoolManager
- java.lang.Object
-
- de.xima.fc.db.DBAccessPoolManager
-
public class DBAccessPoolManager extends Object
-
-
Constructor Summary
Constructors Constructor Description DBAccessPoolManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcloseDataSource(DatenbankZugriff dbAccess)static ConnectiongetConnection(DatenbankZugriff dbAccess)static DataSourcegetDataSource(DatenbankZugriff dbAccess)static StringsearchDriverClass(String jdbcUrl)static voidshutdownAll()static BooleantestConnection(DatenbankZugriff dbZugriff)
-
-
-
Method Detail
-
getConnection
public static Connection getConnection(DatenbankZugriff dbAccess) throws SQLException
- Throws:
SQLException
-
getDataSource
public static DataSource getDataSource(DatenbankZugriff dbAccess)
-
closeDataSource
public static void closeDataSource(DatenbankZugriff dbAccess)
-
testConnection
public static Boolean testConnection(DatenbankZugriff dbZugriff) throws SQLException
- Throws:
SQLException
-
searchDriverClass
public static String searchDriverClass(String jdbcUrl) throws SQLException
- Throws:
SQLException
-
shutdownAll
public static void shutdownAll()
-
-