com.atlassian.jira.event
Class DefaultListenerManager
java.lang.Object
com.atlassian.jira.event.DefaultListenerManager
- All Implemented Interfaces:
- ListenerManager, Startable, JiraManager
public class DefaultListenerManager
- extends Object
- implements ListenerManager, Startable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultListenerManager
public DefaultListenerManager(com.atlassian.event.api.EventPublisher eventPublisher)
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.
onClearCache
@EventListener
public void onClearCache(ClearCacheEvent event)
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-2011 Atlassian. All Rights Reserved.