|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.event.SubvertedListenerManager
public class SubvertedListenerManager
Constructor Summary | |
---|---|
SubvertedListenerManager()
|
Method Summary | |
---|---|
JiraListener |
createListener(String name,
Class<? extends JiraListener> clazz)
Creates a new JiraListener. |
void |
deleteListener(Class<? extends JiraListener> clazz)
Deletes any listeners of the given class. |
Map |
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 |
---|
public SubvertedListenerManager()
Method Detail |
---|
public Map getListeners()
ListenerManager
getListeners
in interface ListenerManager
public JiraListener createListener(String name, Class<? extends JiraListener> clazz)
ListenerManager
createListener
in interface ListenerManager
name
- The name of the Listenerclazz
- The class of the Listener.
public void deleteListener(Class<? extends JiraListener> clazz)
ListenerManager
deleteListener
in interface ListenerManager
clazz
- The class of the Listener.public void refresh()
ListenerManager
refresh
in interface ListenerManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |