com.atlassian.jira.startup
Class LauncherContextListener
java.lang.Object
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.
On startup we still need to perform initialization. Except now it also needs to be smart enough to handle per-tenant
initialization as well. All of those context-listeners have been collapsed into a single context-listener that can
handle this Brave New World.
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LauncherContextListener
public LauncherContextListener()
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-2012 Atlassian. All Rights Reserved.