Package fr.gouv.vitam.scheduler.server
Class SchedulerListener
- java.lang.Object
-
- fr.gouv.vitam.scheduler.server.SchedulerListener
-
- All Implemented Interfaces:
java.util.EventListener,javax.servlet.ServletContextListener
public class SchedulerListener extends java.lang.Object implements javax.servlet.ServletContextListener
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent sce)voidcontextInitialized(javax.servlet.ServletContextEvent sce)static SchedulerListenergetInstance()org.quartz.SchedulergetScheduler()
-
-
-
Method Detail
-
getInstance
public static SchedulerListener getInstance() throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
getScheduler
public org.quartz.Scheduler getScheduler()
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
-