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 void
closeDataSource(DatenbankZugriff dbAccess)
static Connection
getConnection(DatenbankZugriff dbAccess)
static DataSource
getDataSource(DatenbankZugriff dbAccess)
static String
searchDriverClass(String jdbcUrl)
static void
shutdownAll()
static Boolean
testConnection(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()
-
-