public class InitializerServletContextListener extends Object implements javax.servlet.ServletContextListener
ServletContext
lifecyle events. On startup it calls
ServletInitializer.init(javax.servlet.ServletContext)
to set
up OpenNMS-specific properties and starts an RTC subscription timer. On
shutdown it stops the RTC timer.Modifier and Type | Class and Description |
---|---|
static class |
InitializerServletContextListener.RTCPostSubscriberTimerTask
This task is used to call
RTCPostSubscriber.subscribeAll(String) if the categories have
not been updated recently or ever (such as at startup). |
Constructor and Description |
---|
InitializerServletContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Cancel the RTC subscription timer.
|
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2016. All rights reserved.