com.atlassian.jira.upgrade
Class PluginUpgradeLauncher

java.lang.Object
  extended by com.atlassian.jira.upgrade.PluginUpgradeLauncher
All Implemented Interfaces:
JiraLauncher

public class PluginUpgradeLauncher
extends Object
implements JiraLauncher

Issues a JiraStartedEvent to launch the Jira Plugin upgrade task

Since:
v4.4

Constructor Summary
PluginUpgradeLauncher()
           
 
Method Summary
 com.atlassian.plugin.event.PluginEventManager getPluginEventManager()
           
 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
 

Constructor Detail

PluginUpgradeLauncher

public PluginUpgradeLauncher()
Method Detail

start

public void start()
Description copied from interface: JiraLauncher
Called during JIRA "startup". In the multitenant world startup is more complicated and broken into multiple chunks. There is the stuff that happens when the servlet container first comes up, there is stuff that happens when the System Tenant is being created (also during servlet context creation), and there is stuff when further tenants are created (dynamically, at some point often well after startup). 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 mean either per-tenant shutdown or servlet-wide shutdown. The logic of what exactly happens when is encapsulated in the DefaultJiraLauncher.

Specified by:
stop in interface JiraLauncher
See Also:
DefaultJiraLauncher

getPluginEventManager

public com.atlassian.plugin.event.PluginEventManager getPluginEventManager()


Copyright © 2002-2012 Atlassian. All Rights Reserved.