Interface EventStrategy.EventQueue
-
- All Known Implementing Classes:
EventStrategy.DefaultEventQueue,EventStrategy.TransactionalEventQueue
- Enclosing class:
- EventStrategy
public static interface EventStrategy.EventQueueGathers messages from callbacks and fires them to listeners. When the event is sent to the listener is up to the implementation of this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEvent(Event evt)Add an event to the event queue.voidsetListeners(List<MutationListener> listeners)Provide listeners to the queue that were given to theEventStrategyon construction.
-
-
-
Method Detail
-
setListeners
void setListeners(List<MutationListener> listeners)
Provide listeners to the queue that were given to theEventStrategyon construction.
-
addEvent
void addEvent(Event evt)
Add an event to the event queue.
-
-