public class EventListenerRegistryImpl extends Object implements EventListenerRegistry, Stoppable
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> org.hibernate.event.service.internal.EventListenerGroupImpl<T> |
getEventListenerGroup(EventType<T> eventType) |
void |
prepare(MetadataImplementor metadata) |
<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) |
void |
stop()
Stop phase notification
|
public void prepare(MetadataImplementor metadata)
prepare
in interface EventListenerRegistry
public <T> org.hibernate.event.service.internal.EventListenerGroupImpl<T> getEventListenerGroup(EventType<T> eventType)
getEventListenerGroup
in interface EventListenerRegistry
public void addDuplicationStrategy(DuplicationStrategy strategy)
addDuplicationStrategy
in interface EventListenerRegistry
@SafeVarargs public final <T> void setListeners(EventType<T> type, Class<? extends T>... listenerClasses)
setListeners
in interface EventListenerRegistry
@SafeVarargs public final <T> void setListeners(EventType<T> type, T... listeners)
setListeners
in interface EventListenerRegistry
@SafeVarargs public final <T> void appendListeners(EventType<T> type, Class<? extends T>... listenerClasses)
appendListeners
in interface EventListenerRegistry
@SafeVarargs public final <T> void appendListeners(EventType<T> type, T... listeners)
appendListeners
in interface EventListenerRegistry
@SafeVarargs public final <T> void prependListeners(EventType<T> type, Class<? extends T>... listenerClasses)
prependListeners
in interface EventListenerRegistry
@SafeVarargs public final <T> void prependListeners(EventType<T> type, T... listeners)
prependListeners
in interface EventListenerRegistry
Copyright © 2021 JBoss by Red Hat. All rights reserved.