Top Description Fields Constructors Methods
org.hibernate.event.spi

public Class EventEngine

extends Object
Class Inheritance
Imports
java.util.Collection, .Collections, .HashMap, .Map, java.util.function.Consumer, org.hibernate.HibernateException, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.boot.spi.MetadataImplementor, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.event.service.internal.EventListenerRegistryImpl, org.hibernate.event.service.spi.EventListenerGroup, .EventListenerRegistry, org.hibernate.internal.util.collections.CollectionHelper, org.hibernate.jpa.event.internal.CallbacksFactory, org.hibernate.jpa.event.spi.CallbackRegistry, org.hibernate.service.spi.Stoppable

Composite for the things related to Hibernate's event system.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final CallbackRegistry
private final EventListenerRegistry
private final Map<String, EventType<?>>

Constructor Summary

AccessConstructor and Description
public
EventEngine(MetadataImplementor mappings, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of MetadataImplementor and SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public <T> EventType<T>
public CallbackRegistry
public EventListenerRegistry
public Collection<EventType<?>>
public void
stop()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

callbackRegistryback to summary
private final CallbackRegistry callbackRegistry
listenerRegistryback to summary
private final EventListenerRegistry listenerRegistry
registeredEventTypesback to summary
private final Map<String, EventType<?>> registeredEventTypes

Constructor Detail

EventEngineback to summary
public EventEngine(MetadataImplementor mappings, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of MetadataImplementor and SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

findRegisteredEventTypeback to summary
public <T> EventType<T> findRegisteredEventType(String name)
getCallbackRegistryback to summary
public CallbackRegistry getCallbackRegistry()
getListenerRegistryback to summary
public EventListenerRegistry getListenerRegistry()
getRegisteredEventTypesback to summary
public Collection<EventType<?>> getRegisteredEventTypes()
stopback to summary
public void stop()