Package org.hibernate.event.service.spi
An SPI for the event listener registration service.
- See Also:
EventListenerRegistry
-
Interface Summary Interface Description DuplicationStrategy Defines listener duplication checking strategy, both in terms of when a duplication is detected (seeDuplicationStrategy.areMatch(java.lang.Object, java.lang.Object)
) as well as how to handle a duplication (seeDuplicationStrategy.getAction()
).EventActionWithParameter<T,U,X> EventListenerGroup<T> Contract for a groups of events listeners for a particular event type.EventListenerRegistry Service for accessing eachEventListenerGroup
byEventType
, along with convenience methods for managing the listeners registered in eachEventListenerGroup
.JpaBootstrapSensitive Defines an event listener that is sensitive to whether a native or jpa bootstrap was performed -
Enum Summary Enum Description DuplicationStrategy.Action The enumerated list of actions available on duplication match -
Exception Summary Exception Description EventListenerRegistrationException Indicates a problem registering an event listener.