org.opennms.web
Class InitializerServletContextListener
java.lang.Object
org.opennms.web.InitializerServletContextListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
- public class InitializerServletContextListener
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
Initializes our internal servlet systems at servlet container startup, and
destroys any pool resources at servlet container shutdown.
This listener is specified in the web.xml to listen to
ServletContext
lifecyle events. On startup it calls
ServletInitializer.init and initializes the UserFactory, GroupFactory. On
shutdown it calls ServletInitializer.destroy.
- Author:
- Lawrence Karnowski , OpenNMS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rtcCheckTimer
private java.util.Timer rtcCheckTimer
InitializerServletContextListener
public InitializerServletContextListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
Generated by eevans on May 29 2005 2015.