Class OBSchedulerInitializerListener

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    public class OBSchedulerInitializerListener
    extends Object
    implements javax.servlet.ServletContextListener
    A copy of the QuartzInializerListener with some modifications to initialize the Openbravo scheduling items. Places Openbravo application resources such as ConnectionProvider and ConfigParameters in the scheduling context so that OBScheduler singleton instance has access to them.
    Author:
    awolski
    • Constructor Detail

      • OBSchedulerInitializerListener

        public OBSchedulerInitializerListener()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent sce)
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent sce)
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener