public class

JiraLifecycleManager

extends DefaultLifecycleManager
java.lang.Object
   ↳ com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
     ↳ com.atlassian.sal.jira.lifecycle.JiraLifecycleManager

Summary

Public Constructors
JiraLifecycleManager(PluginEventManager pluginEventManager, PluginAccessor pluginAccessor, BundleContext bundleContext, List<ListableBeanFactory> beanFactories)
Public Methods
boolean isApplicationSetUp()
void onJiraStart(JiraStartedEvent event)
This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs.
void onPluginFrameworkStarted(PluginFrameworkStartedEvent event)
This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs.
Protected Methods
void notifyOnStart()
[Expand]
Inherited Methods
From class com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
From class java.lang.Object
From interface com.atlassian.sal.api.lifecycle.LifecycleManager
From interface org.springframework.beans.factory.DisposableBean
From interface org.springframework.beans.factory.InitializingBean

Public Constructors

public JiraLifecycleManager (PluginEventManager pluginEventManager, PluginAccessor pluginAccessor, BundleContext bundleContext, List<ListableBeanFactory> beanFactories)

Public Methods

public boolean isApplicationSetUp ()

public void onJiraStart (JiraStartedEvent event)

This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs. PluginEventManager uses methods called "channel" and methods with annotation "@PluginEventListener" to notify a registered listeners about events. See com.atlassian.plugin.event.impl.DefaultPluginEventManager for more details on this black magic.

Parameters
event the JiraStartedEvent

public void onPluginFrameworkStarted (PluginFrameworkStartedEvent event)

This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs. PluginEventManager uses methods called "channel" and methods with annotation "@PluginEventListener" to notify a registered listeners about events. See com.atlassian.plugin.event.impl.DefaultPluginEventManager for more details on this black magic.

Parameters
event the Event

Protected Methods

protected void notifyOnStart ()