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) |
void |
prepare(MetadataImplementor metadata) |
<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) |
void prepare(MetadataImplementor metadata)
<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 © 2020 JBoss by Red Hat. All rights reserved.