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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected void
     
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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. See DefaultPluginEventManager for more details on this black magic.
      Overrides:
      onPluginFrameworkStarted 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