Package com.atlassian.sal.jira.lifecycle
Class JiraLifecycleManager
java.lang.Object
com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
com.atlassian.sal.jira.lifecycle.JiraLifecycleManager
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleManager
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class JiraLifecycleManager
extends com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
-
Constructor Summary
ConstructorsConstructorDescriptionJiraLifecycleManager
(com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.plugin.PluginAccessor pluginAccessor, org.osgi.framework.BundleContext bundleContext, List<org.springframework.beans.factory.ListableBeanFactory> beanFactories) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
void
onJiraStart
(JiraStartedEvent event) This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs.void
onPluginFrameworkStarted
(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs.Methods inherited from class com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
afterPropertiesSet, destroy, onPluginDisabling, onPluginEnabled, onPluginFrameworkShuttingDown, start
-
Constructor Details
-
JiraLifecycleManager
public JiraLifecycleManager(com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.plugin.PluginAccessor pluginAccessor, org.osgi.framework.BundleContext bundleContext, List<org.springframework.beans.factory.ListableBeanFactory> beanFactories)
-
-
Method Details
-
isApplicationSetUp
public boolean isApplicationSetUp() -
onPluginFrameworkStarted
public void onPluginFrameworkStarted(com.atlassian.plugin.event.events.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. SeeDefaultPluginEventManager
for more details on this black magic.- Overrides:
onPluginFrameworkStarted
in classcom.atlassian.sal.core.lifecycle.DefaultLifecycleManager
- Parameters:
event
- the Event
-
onJiraStart
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. SeeDefaultPluginEventManager
for more details on this black magic.- Parameters:
event
- the JiraStartedEvent
-
notifyOnStart
protected void notifyOnStart()- Overrides:
notifyOnStart
in classcom.atlassian.sal.core.lifecycle.DefaultLifecycleManager
-