|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EventListener
and the EventPublisher
public interface EventListener
Defines a listener for events.
EventListener
,
EventPublisher
Method Summary | |
---|---|
java.lang.Class[] |
getHandledEventClasses()
Deprecated. Determine which event classes this listener is interested in. |
void |
handleEvent(Event event)
Deprecated. Perform some action as a response to a Confluence event. |
Method Detail |
---|
void handleEvent(Event event)
event
- some event triggered within Confluencejava.lang.Class[] getHandledEventClasses()
The EventManager performs rudimentary filtering of events by their class. If you want to receive only a subset of events passing through the system, return an array of the Classes you wish to listen for from this method.
Listening for a class will also listen for all its subclasses. (And listening for an interface will listen for any implementation of that interface)
Returning an empty array will allow you to receive every event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |