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
public class JiraLifecycleManager
- extends com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
Constructor Summary |
JiraLifecycleManager(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
List<org.springframework.beans.factory.ListableBeanFactory> beanFactories)
|
Method Summary |
boolean |
isApplicationSetUp()
|
protected void |
notifyOnStart()
|
void |
onFrameworkStart(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs. |
void |
onJiraStart(JiraStartedEvent event)
This method will be invoked by PluginEventManager when PluginFrameworkStartedEvent event occurs. |
Methods inherited from class com.atlassian.sal.core.lifecycle.DefaultLifecycleManager |
destroy, onBind, setLifecycleAwareListeners, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraLifecycleManager
public JiraLifecycleManager(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
List<org.springframework.beans.factory.ListableBeanFactory> beanFactories)
isApplicationSetUp
public boolean isApplicationSetUp()
onFrameworkStart
public void onFrameworkStart(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.
See
DefaultPluginEventManager
for more details on this black magic.
- Overrides:
onFrameworkStart
in class com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
- Parameters:
event
- the Event
onJiraStart
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
DefaultPluginEventManager
for more details on this black magic.
- Parameters:
event
- the JiraStartedEvent
notifyOnStart
protected void notifyOnStart()
- Overrides:
notifyOnStart
in class com.atlassian.sal.core.lifecycle.DefaultLifecycleManager
Copyright © 2002-2014 Atlassian. All Rights Reserved.