com.atlassian.jira.event
Class DefaultListenerManager

java.lang.Object
  extended by com.atlassian.jira.event.DefaultListenerManager
All Implemented Interfaces:
ListenerManager, JiraManager

public class DefaultListenerManager
extends Object
implements ListenerManager


Constructor Summary
DefaultListenerManager()
           
 
Method Summary
 Map<String,JiraListener> getListeners()
          Returns a map of listeners.
 void refresh()
          Reloads the map of listeners from the db.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultListenerManager

public DefaultListenerManager()
Method Detail

getListeners

public Map<String,JiraListener> getListeners()
Description copied from interface: ListenerManager
Returns a map of listeners. The map contains mappings from the listener name to listener class.

Specified by:
getListeners in interface ListenerManager
Returns:
A map with name -> class mappings.

refresh

public void refresh()
Description copied from interface: ListenerManager
Reloads the map of listeners from the db.

Specified by:
refresh in interface ListenerManager


Copyright © 2002-2009 Atlassian. All Rights Reserved.