Package org.openbravo.base
Class OBSchedulerInitializerListener
- java.lang.Object
-
- org.openbravo.base.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 Summary
Constructors Constructor Description OBSchedulerInitializerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent sce)
void
contextInitialized(javax.servlet.ServletContextEvent sce)
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-