public interface EventListenerRegistry extends Service, Serializable
EventListenerGroup
by EventType
, as well as convenience
methods for managing the listeners registered in each EventListenerGroup
.Modifier and Type | Method and Description |
---|---|
void |
addDuplicationStrategy(DuplicationStrategy strategy) |
<T> void |
appendListeners(EventType<T> type,
Class<? extends T>... listeners) |
<T> void |
appendListeners(EventType<T> type,
T... listeners) |
<T> EventListenerGroup<T> |
getEventListenerGroup(EventType<T> eventType) |
<T> void |
prependListeners(EventType<T> type,
Class<? extends T>... listeners) |
<T> void |
prependListeners(EventType<T> type,
T... listeners) |
<T> void |
setListeners(EventType<T> type,
Class<? extends T>... listeners) |
<T> void |
setListeners(EventType<T> type,
T... listeners) |
<T> EventListenerGroup<T> getEventListenerGroup(EventType<T> eventType)
void addDuplicationStrategy(DuplicationStrategy strategy)
<T> void setListeners(EventType<T> type, T... listeners)
<T> void appendListeners(EventType<T> type, T... listeners)
<T> void prependListeners(EventType<T> type, T... listeners)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.