Class SimpleQuartzConnectionProvider
- java.lang.Object
-
- com.avoka.core.service.initialization.SimpleQuartzConnectionProvider
-
- All Implemented Interfaces:
org.quartz.utils.ConnectionProvider
public class SimpleQuartzConnectionProvider extends Object implements org.quartz.utils.ConnectionProvider
Provides a Quartz connection provider class.
-
-
Constructor Summary
Constructors Constructor Description SimpleQuartzConnectionProvider()
-
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
- Returns:
- a connection
- Throws:
SQLException
- if a SQL error occurs- See Also:
ConnectionProvider.getConnection()
-
initialize
public void initialize() throws SQLException
- Specified by:
initialize
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
- if a SQL error occurs
-
shutdown
public void shutdown() throws SQLException
- Specified by:
shutdown
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
- if a SQL error occurs- See Also:
ConnectionProvider.shutdown()
-
-