com.atlassian.jira.event.listeners.reindex
Class ReindexMessageListener

java.lang.Object
  extended by com.atlassian.jira.event.listeners.reindex.ReindexMessageListener
All Implemented Interfaces:
Startable

public class ReindexMessageListener
extends Object
implements Startable

Adds a re-index notification whenever a plugin module requiring reindex is enabled.

Since:
v4.3

Constructor Summary
ReindexMessageListener(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.PluginAccessor pluginAccessor, ReindexMessageManager reindexMessageManager, com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent pmEnabledEvent)
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReindexMessageListener

public ReindexMessageListener(JiraAuthenticationContext authenticationContext,
                              com.atlassian.plugin.PluginAccessor pluginAccessor,
                              ReindexMessageManager reindexMessageManager,
                              com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

pluginModuleEnabled

@EventListener
public void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent pmEnabledEvent)

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
Exception - Allows implementations to throw an Exception.


Copyright © 2002-2012 Atlassian. All Rights Reserved.