Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)
  1. Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)
  2. QTZ-225

Make the Scheduler's ClassLoadHelper available to plugins when they are initialized

    Details

    • Terracotta Target:
      Vicente
    • Fixed In Revision:
      2008,2009

      Description

      Quartz plugins (the JobInitializationPlugin for example) create a new CascadingClassLoadHelper (separate from the Scheduler's ClassLoadHelper) when they are initialized. There is no easy way to hook into this process, thus one cannot provide a custom ClassLoadHelper at runtime for these plugins.

      (Please refer to the following thread for additional information: http://forums.terracotta.org/forums/posts/list/6007.page)

        Activity

        Hide
        Anthony Dahanne Dahanne added a comment -

        as of today (2.2) there 4 plugins part of the core quartz distribution :

        • LoggingJobHistoryPlugin
        • LoggingTriggerHistoryPlugin
        • ShutdownHookPlugin
        • XMLSchedulingDataProcessorPlugin
        Show
        Anthony Dahanne Dahanne added a comment - as of today (2.2) there 4 plugins part of the core quartz distribution : LoggingJobHistoryPlugin LoggingTriggerHistoryPlugin ShutdownHookPlugin XMLSchedulingDataProcessorPlugin
        Hide
        Anthony Dahanne Dahanne added a comment -

        The SchedulerFactory(ies) now have to initialize the plugins with their ClassLoadHelper instance, that way the plugins can see the same classes that the scheduler factories can.
        The SPI SchedulerPlugin has now an additionnal parameter : ClassLoadHelper loadHelper .
        To test, check out from http://svn.terracotta.org/svn/quartz/branches/quartz-2.2.x/ and mvn clean install (2.2.0-SNAPSHOT)

        Show
        Anthony Dahanne Dahanne added a comment - The SchedulerFactory(ies) now have to initialize the plugins with their ClassLoadHelper instance, that way the plugins can see the same classes that the scheduler factories can. The SPI SchedulerPlugin has now an additionnal parameter : ClassLoadHelper loadHelper . To test, check out from http://svn.terracotta.org/svn/quartz/branches/quartz-2.2.x/ and mvn clean install (2.2.0-SNAPSHOT)

          People

          • Assignee:
            Anthony Dahanne Dahanne
            Reporter:
            Robert Kohanyi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: