Class 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 Detail

      • dataSourceName

        protected String dataSourceName
    • Constructor Detail

      • NuxeoQuartzConnectionProvider

        public NuxeoQuartzConnectionProvider()
    • Method Detail

      • 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