org.jactr.core.event
Class ACTREventDispatcher<S,L>
java.lang.Object
org.jactr.core.event.ACTREventDispatcher<S,L>
public class ACTREventDispatcher<S,L>
- extends java.lang.Object
class that handles the nitty gritty of tracking listeners, executors, and
propogating that the firing events correctly
- Author:
- developer
|
Field Summary |
static org.apache.commons.logging.Log |
LOGGER
logger definition |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
public static final org.apache.commons.logging.Log LOGGER
- logger definition
ACTREventDispatcher
public ACTREventDispatcher()
clear
public void clear()
addListener
public void addListener(L listener,
java.util.concurrent.Executor executor)
removeListener
public void removeListener(L listener)
hasListeners
public boolean hasListeners()
fire
public void fire(IACTREvent<S,L> event)
getListeners
public java.util.Collection<L> getListeners()
- Returns: