Class EventIntegrator
java.lang.Object
io.micronaut.data.hibernate.event.EventIntegrator
- All Implemented Interfaces:
org.hibernate.integrator.spi.Integrator
@Primary
@Singleton
@Internal
public class EventIntegrator
extends Object
implements org.hibernate.integrator.spi.Integrator
Integrates event handling.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disintegrate
(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry) void
integrate
(org.hibernate.boot.Metadata metadata, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.integrator.spi.Integrator
integrate
-
Constructor Details
-
EventIntegrator
Constructor.- Parameters:
entityRegistry
- the entity registry
-
-
Method Details
-
integrate
public void integrate(org.hibernate.boot.Metadata metadata, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry) - Specified by:
integrate
in interfaceorg.hibernate.integrator.spi.Integrator
-
disintegrate
public void disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry) - Specified by:
disintegrate
in interfaceorg.hibernate.integrator.spi.Integrator
-