Class NuxeoQuartzConnectionProvider

java.lang.Object
org.nuxeo.ecm.core.scheduler.NuxeoQuartzConnectionProvider
All Implemented Interfaces:
org.quartz.utils.ConnectionProvider

public class NuxeoQuartzConnectionProvider extends Object implements org.quartz.utils.ConnectionProvider
Quartz Connection Provider delegating to the Nuxeo datasource framework.
Since:
7.1
  • Field Details

    • dataSourceName

      protected String dataSourceName
    • connection

      protected Connection connection
  • Constructor Details

    • NuxeoQuartzConnectionProvider

      public NuxeoQuartzConnectionProvider()
  • Method Details

    • setJndiURL

      public void setJndiURL(String jndiURL)
      Called by reflection from StdSchedulerFactory.setBeanProps.
      Parameters:
      jndiURL - the JNDI URL from the Quartz configuration
    • getConnection

      public Connection getConnection() throws SQLException
      Specified by:
      getConnection in interface org.quartz.utils.ConnectionProvider
      Throws:
      SQLException
    • shutdown

      public void shutdown() throws SQLException
      Specified by:
      shutdown in interface org.quartz.utils.ConnectionProvider
      Throws:
      SQLException
    • initialize

      public void initialize() throws SQLException
      Specified by:
      initialize in interface org.quartz.utils.ConnectionProvider
      Throws:
      SQLException
      Since:
      7.10