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 Details

    • SimpleQuartzConnectionProvider

      public SimpleQuartzConnectionProvider()
  • Method Details

    • getConnection

      public Connection getConnection() throws SQLException
      Specified by:
      getConnection in interface org.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 interface org.quartz.utils.ConnectionProvider
      Throws:
      SQLException - if a SQL error occurs
    • shutdown

      public void shutdown() throws SQLException
      Specified by:
      shutdown in interface org.quartz.utils.ConnectionProvider
      Throws:
      SQLException - if a SQL error occurs
      See Also:
      • ConnectionProvider.shutdown()