public class EventListenerRegistryImpl extends Object implements EventListenerRegistry
Constructor and Description |
---|
EventListenerRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDuplicationStrategy(DuplicationStrategy strategy) |
<T> void |
appendListeners(EventType<T> type,
Class<? extends T>... listenerClasses) |
<T> void |
appendListeners(EventType<T> type,
T... listeners) |
<T> EventListenerGroupImpl<T> |
getEventListenerGroup(EventType<T> eventType) |
<T> void |
prependListeners(EventType<T> type,
Class<? extends T>... listenerClasses) |
<T> void |
prependListeners(EventType<T> type,
T... listeners) |
<T> void |
setListeners(EventType<T> type,
Class<? extends T>... listenerClasses) |
<T> void |
setListeners(EventType<T> type,
T... listeners) |
public <T> EventListenerGroupImpl<T> getEventListenerGroup(EventType<T> eventType)
getEventListenerGroup
in interface EventListenerRegistry
public void addDuplicationStrategy(DuplicationStrategy strategy)
addDuplicationStrategy
in interface EventListenerRegistry
public <T> void setListeners(EventType<T> type, Class<? extends T>... listenerClasses)
setListeners
in interface EventListenerRegistry
public <T> void setListeners(EventType<T> type, T... listeners)
setListeners
in interface EventListenerRegistry
public <T> void appendListeners(EventType<T> type, Class<? extends T>... listenerClasses)
appendListeners
in interface EventListenerRegistry
public <T> void appendListeners(EventType<T> type, T... listeners)
appendListeners
in interface EventListenerRegistry
public <T> void prependListeners(EventType<T> type, Class<? extends T>... listenerClasses)
prependListeners
in interface EventListenerRegistry
public <T> void prependListeners(EventType<T> type, T... listeners)
prependListeners
in interface EventListenerRegistry
Copyright © 2017 JBoss by Red Hat. All rights reserved.