public class StartStopServlet extends java.lang.Object implements ServletContextListener
Application.start()
and ExtensionsControl.init(javax.servlet.ServletContext)
when it is loaded and Application.stop()
and ExtensionsControl.close()
when it is destroyed.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
StartStopServlet() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent ctx) |
void |
contextInitialized(ServletContextEvent ctx) |
private static final long serialVersionUID
public void contextInitialized(ServletContextEvent ctx)
contextInitialized
in interface ServletContextListener
public void contextDestroyed(ServletContextEvent ctx)
contextDestroyed
in interface ServletContextListener