Uses of Class
org.hibernate.event.spi.EventType
Packages that use EventType
Package
Description
An SPI service for processing and handling
cfg.xml
files.Implementation of the event listener registration service.
An SPI for the event listener registration service.
Defines the event types and event listener interfaces for
events produced by the stateful
Session
.-
Uses of EventType in org.hibernate.boot.cfgxml.spi
Methods in org.hibernate.boot.cfgxml.spi that return types with arguments of type EventTypeMethods in org.hibernate.boot.cfgxml.spi with parameters of type EventTypeModifier and TypeMethodDescriptionvoid
LoadedConfig.addEventListener
(EventType<?> eventType, String listenerClass) -
Uses of EventType in org.hibernate.event.service.internal
Methods in org.hibernate.event.service.internal with parameters of type EventTypeModifier and TypeMethodDescriptionfinal <T> void
EventListenerRegistryImpl.appendListeners
(EventType<T> type, Class<? extends T>... listenerClasses) final <T> void
EventListenerRegistryImpl.appendListeners
(EventType<T> type, T... listeners) <T> EventListenerGroup<T>
EventListenerRegistryImpl.getEventListenerGroup
(EventType<T> eventType) <T> EventListenerGroup<T>
EventListenerRegistryImpl.Builder.getListenerGroup
(EventType<T> eventType) <T> void
EventListenerRegistryImpl.Builder.prepareListeners
(EventType<T> eventType) <T> void
EventListenerRegistryImpl.Builder.prepareListeners
(EventType<T> type, T defaultListener) <T> void
EventListenerRegistryImpl.Builder.prepareListeners
(EventType<T> type, T defaultListener, Function<EventType<T>, org.hibernate.event.service.internal.EventListenerGroupImpl<T>> groupCreator) final <T> void
EventListenerRegistryImpl.prependListeners
(EventType<T> type, Class<? extends T>... listenerClasses) final <T> void
EventListenerRegistryImpl.prependListeners
(EventType<T> type, T... listeners) final <T> void
EventListenerRegistryImpl.setListeners
(EventType<T> type, Class<? extends T>... listenerClasses) final <T> void
EventListenerRegistryImpl.setListeners
(EventType<T> type, T... listeners) Method parameters in org.hibernate.event.service.internal with type arguments of type EventTypeModifier and TypeMethodDescriptionEventListenerRegistryImpl.Builder.buildRegistry
(Map<String, EventType<?>> registeredEventTypes) <T> void
EventListenerRegistryImpl.Builder.prepareListeners
(EventType<T> type, T defaultListener, Function<EventType<T>, org.hibernate.event.service.internal.EventListenerGroupImpl<T>> groupCreator) -
Uses of EventType in org.hibernate.event.service.spi
Methods in org.hibernate.event.service.spi that return EventTypeModifier and TypeMethodDescriptionEventListenerGroup.getEventType()
Retrieve the event type associated with this groups of listeners.Methods in org.hibernate.event.service.spi with parameters of type EventTypeModifier and TypeMethodDescription<T> void
EventListenerRegistry.appendListeners
(EventType<T> type, Class<? extends T>... listeners) <T> void
EventListenerRegistry.appendListeners
(EventType<T> type, T... listeners) <T> EventListenerGroup<T>
EventListenerRegistry.getEventListenerGroup
(EventType<T> eventType) <T> void
EventListenerRegistry.prependListeners
(EventType<T> type, Class<? extends T>... listeners) <T> void
EventListenerRegistry.prependListeners
(EventType<T> type, T... listeners) <T> void
EventListenerRegistry.setListeners
(EventType<T> type, Class<? extends T>... listeners) <T> void
EventListenerRegistry.setListeners
(EventType<T> type, T... listeners) -
Uses of EventType in org.hibernate.event.spi
Fields in org.hibernate.event.spi declared as EventTypeModifier and TypeFieldDescriptionstatic final EventType<AutoFlushEventListener>
EventType.AUTO_FLUSH
static final EventType<ClearEventListener>
EventType.CLEAR
static final EventType<DeleteEventListener>
EventType.DELETE
static final EventType<DirtyCheckEventListener>
EventType.DIRTY_CHECK
static final EventType<EvictEventListener>
EventType.EVICT
static final EventType<FlushEventListener>
EventType.FLUSH
static final EventType<FlushEntityEventListener>
EventType.FLUSH_ENTITY
static final EventType<InitializeCollectionEventListener>
EventType.INIT_COLLECTION
static final EventType<LoadEventListener>
EventType.LOAD
static final EventType<LockEventListener>
EventType.LOCK
static final EventType<MergeEventListener>
EventType.MERGE
static final EventType<PersistEventListener>
EventType.PERSIST
static final EventType<PersistEventListener>
EventType.PERSIST_ONFLUSH
static final EventType<PostCollectionRecreateEventListener>
EventType.POST_COLLECTION_RECREATE
static final EventType<PostCollectionRemoveEventListener>
EventType.POST_COLLECTION_REMOVE
static final EventType<PostCollectionUpdateEventListener>
EventType.POST_COLLECTION_UPDATE
static final EventType<PostDeleteEventListener>
EventType.POST_COMMIT_DELETE
static final EventType<PostInsertEventListener>
EventType.POST_COMMIT_INSERT
static final EventType<PostUpdateEventListener>
EventType.POST_COMMIT_UPDATE
static final EventType<PostDeleteEventListener>
EventType.POST_DELETE
static final EventType<PostInsertEventListener>
EventType.POST_INSERT
static final EventType<PostLoadEventListener>
EventType.POST_LOAD
static final EventType<PostUpdateEventListener>
EventType.POST_UPDATE
static final EventType<PostUpsertEventListener>
EventType.POST_UPSERT
static final EventType<PreCollectionRecreateEventListener>
EventType.PRE_COLLECTION_RECREATE
static final EventType<PreCollectionRemoveEventListener>
EventType.PRE_COLLECTION_REMOVE
static final EventType<PreCollectionUpdateEventListener>
EventType.PRE_COLLECTION_UPDATE
static final EventType<PreDeleteEventListener>
EventType.PRE_DELETE
static final EventType<PreInsertEventListener>
EventType.PRE_INSERT
static final EventType<PreLoadEventListener>
EventType.PRE_LOAD
static final EventType<PreUpdateEventListener>
EventType.PRE_UPDATE
static final EventType<PreUpsertEventListener>
EventType.PRE_UPSERT
static final EventType<RefreshEventListener>
EventType.REFRESH
static final EventType<ReplicateEventListener>
EventType.REPLICATE
static final EventType<ResolveNaturalIdEventListener>
EventType.RESOLVE_NATURAL_ID
Methods in org.hibernate.event.spi that return EventTypeModifier and TypeMethodDescription<T> EventType<T>
EventEngineContributions.contributeEventType
(String name, Class<T> listenerRole) Register a custom event type.<T> EventType<T>
EventEngineContributions.contributeEventType
(String name, Class<T> listenerRole, T... defaultListener) Register a custom event type with a default listener.static <T> EventType<T>
<T> EventType<T>
EventEngineContributions.findEventType
(String name) Return the EventType by name, if one<T> EventType<T>
EventEngine.findRegisteredEventType
(String name) static EventType<?>
EventType.resolveEventTypeByName
(String eventName) Find anEventType
by its nameMethods in org.hibernate.event.spi that return types with arguments of type EventTypeModifier and TypeMethodDescriptionCollection<EventType<?>>
EventEngine.getRegisteredEventTypes()
static Collection<EventType<?>>
EventType.values()
Get a collection of all the standardEventType
instances.Methods in org.hibernate.event.spi with parameters of type EventTypeModifier and TypeMethodDescription<T> void
EventEngineContributions.configureListeners
(EventType<T> eventType, Consumer<EventListenerGroup<T>> action) Perform an action against the listener group for the specified event-type