Package de.xima.fc.timing.db
Class QuartzConnectionProvider
- java.lang.Object
-
- de.xima.fc.timing.db.QuartzConnectionProvider
-
- All Implemented Interfaces:
org.quartz.utils.ConnectionProvider
public class QuartzConnectionProvider extends Object implements org.quartz.utils.ConnectionProvider
Class to provide an database-connection for the scheduling- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description QuartzConnectionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getConnection()
void
initialize()
void
shutdown()
-
-
-
Method Detail
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnection
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
shutdown
public void shutdown() throws SQLException
- Specified by:
shutdown
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
initialize
public void initialize() throws SQLException
- Specified by:
initialize
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
-