com.atlassian.jira.startup
Class JiraStartupChecklistContextListener

java.lang.Object
  extended by com.atlassian.jira.startup.JiraStartupChecklistContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class JiraStartupChecklistContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

Listens to Web application startup and shutdown events to check that JIRA is valid to startup, and do whatever clean up may be required on shutdown.

When JIRA is not valid to start, then the JiraStartupChecklistFilter will disallow access to JIRA.

Since:
v4.0
See Also:
JiraStartupChecklist, JiraStartupChecklistFilter

Constructor Summary
JiraStartupChecklistContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraStartupChecklistContextListener

public JiraStartupChecklistContextListener()
Method Detail

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


Copyright © 2002-2011 Atlassian. All Rights Reserved.