Package org.openbravo.scheduling.quartz
Class QuartzConnectionProvider
- java.lang.Object
-
- org.openbravo.scheduling.quartz.QuartzConnectionProvider
-
- All Implemented Interfaces:
org.quartz.utils.ConnectionProvider
public class QuartzConnectionProvider extends Object implements org.quartz.utils.ConnectionProvider
ConnectionProvider for quartz to allow Quartz to use Openbravo managed Database connections
-
-
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
-
initialize
public void initialize() throws SQLException
- Specified by:
initialize
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
shutdown
public void shutdown() throws SQLException
- Specified by:
shutdown
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
-