org.opennms.web
Class InitializerServletContextListener
java.lang.Object
org.opennms.web.InitializerServletContextListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class InitializerServletContextListener
- extends Object
- implements 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 |
InitializerServletContextListener
public InitializerServletContextListener()
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized in interface ServletContextListener
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed in interface ServletContextListener
Copyright © 2009. All Rights Reserved.