@WebListener
public class QuartzListener
extends org.quartz.ee.servlet.QuartzInitializerListener
Constructor and Description |
---|
QuartzListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContext)
stops the scheduler
|
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
starts the scheduler
|
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
contextInitialized
in class org.quartz.ee.servlet.QuartzInitializerListener
sce
- the servlet context eventpublic void contextDestroyed(javax.servlet.ServletContextEvent servletContext)
contextDestroyed
in interface javax.servlet.ServletContextListener
contextDestroyed
in class org.quartz.ee.servlet.QuartzInitializerListener
servletContext
- the servlet context