com.atlassian.jira.startup
Class JiraStartupPluginSystemListener

java.lang.Object
  extended by com.atlassian.jira.startup.JiraStartupPluginSystemListener
All Implemented Interfaces:
JiraPluginSystemListener

public class JiraStartupPluginSystemListener
extends Object
implements JiraPluginSystemListener

Event listener for internal JIRA events that the JiraStartupChecklist cares about.

Since:
4.3.1
See Also:
JiraStartupChecklist, JiraStartupState

Constructor Summary
JiraStartupPluginSystemListener(com.atlassian.event.api.EventPublisher eventPublisher)
          Creates a new JiraStartupPluginSystemListener.
 
Method Summary
 void onPluginSystemRestarted(com.atlassian.plugin.event.events.PluginFrameworkWarmRestartedEvent event)
          Dispatches the "Plugin System Warn Restarting" event to the current JIRA startup state.
 void onPluginSystemShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
          Dispatches the "Plugin System Shutdown" event to the current JIRA startup state.
 void onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
          Dispatches the "Plugin System Loaded" event to the current JIRA startup state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraStartupPluginSystemListener

public JiraStartupPluginSystemListener(com.atlassian.event.api.EventPublisher eventPublisher)
Creates a new JiraStartupPluginSystemListener.

Parameters:
eventPublisher - an EventPublisher
Method Detail

onPluginSystemStarted

@EventListener
public void onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
Dispatches the "Plugin System Loaded" event to the current JIRA startup state.

Parameters:
event - a PluginFrameworkStartedEvent

onPluginSystemShutdown

@EventListener
public void onPluginSystemShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
Dispatches the "Plugin System Shutdown" event to the current JIRA startup state.

Parameters:
event - a PluginFrameworkShutdownEvent

onPluginSystemRestarted

@EventListener
public void onPluginSystemRestarted(com.atlassian.plugin.event.events.PluginFrameworkWarmRestartedEvent event)
Dispatches the "Plugin System Warn Restarting" event to the current JIRA startup state.

Parameters:
event - a PluginFrameworkWarmRestartedEvent


Copyright © 2002-2014 Atlassian. All Rights Reserved.