com.atlassian.jira.startup
Class TenancyLauncher
java.lang.Object
com.atlassian.jira.startup.TenancyLauncher
- All Implemented Interfaces:
- JiraLauncher
public class TenancyLauncher
- extends Object
- implements JiraLauncher
Launcher that sends an event announcing that a tenant is present.
Note: This launcher is temporary, and a way to start changing core services to make them tenant-aware without breaking
everything. In the future, this event will be sent when a tenant is actually assigned to an instance, instead of
during startup (at least in OnDemand).
- Since:
- v6.3
Method Summary |
void |
start()
Called during JIRA "startup". |
void |
stop()
Called when JIRA is shutting down. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TenancyLauncher
public TenancyLauncher()
start
public void start()
- Description copied from interface:
JiraLauncher
- Called during JIRA "startup".
Despite no longer being multitenant, it is still a good idea to chunk this. The order is defined
in DefaultJiraLauncher
The logic for ordering all of this will be handled by the DefaultJiraLauncher.
- Specified by:
start
in interface JiraLauncher
- See Also:
DefaultJiraLauncher
stop
public void stop()
- Description copied from interface:
JiraLauncher
- Called when JIRA is shutting down. Just like startup this can .
The logic of what exactly happens when is encapsulated in the DefaultJiraLauncher.
- Specified by:
stop
in interface JiraLauncher
- See Also:
DefaultJiraLauncher
Copyright © 2002-2014 Atlassian. All Rights Reserved.