com.atlassian.jira.startup
Class LauncherContextListener

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

public class LauncherContextListener
extends Object
implements javax.servlet.ServletContextListener

We used to have a bunch of context-listeners defined in web.xml that were in charge of various part of the "startup" of JIRA. Things like checking for database consistency, performing an upgrade, starting Quartz. In the multitenant world you can longer do that kind of stuff per-context. Instead it needs to happen per-tenant: when a tenant starts up you need to check *its* database.

Since:
v4.3

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

Constructor Detail

LauncherContextListener

public LauncherContextListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2002-2014 Atlassian. All Rights Reserved.