com.atlassian.jira.dev.backdoor
Class EventWatcherImpl
java.lang.Object
com.atlassian.jira.dev.backdoor.EventWatcherImpl
- All Implemented Interfaces:
- EventWatcher, Startable
public class EventWatcherImpl
- extends Object
- implements EventWatcher, Startable
- Since:
- v5.0
Constructor Summary |
EventWatcherImpl(com.atlassian.event.api.EventPublisher eventPublisher)
|
Method Summary |
Collection<String> |
getEvents()
|
void |
listen(Object object)
|
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 |
EventWatcherImpl
public EventWatcherImpl(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.
listen
@EventListener
public void listen(Object object)
- Specified by:
listen
in interface EventWatcher
getEvents
public Collection<String> getEvents()
- Specified by:
getEvents
in interface EventWatcher
Copyright © 2002-2012 Atlassian. All Rights Reserved.