Class ReactiveIntegrator
- java.lang.Object
-
- org.hibernate.reactive.provider.impl.ReactiveIntegrator
-
- All Implemented Interfaces:
org.hibernate.integrator.spi.Integrator
public class ReactiveIntegrator extends java.lang.Object implements org.hibernate.integrator.spi.Integrator
Integrates Hibernate Reactive with Hibernate ORM by replacing the built-inevent
listeners with reactive listeners. This is only applied if the Hibernate ORM instance we're registering with is marked as being reactive.
-
-
Constructor Summary
Constructors Constructor Description ReactiveIntegrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
void
integrate(org.hibernate.boot.Metadata metadata, org.hibernate.boot.spi.BootstrapContext bootstrapContext, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
-
-
-
Method Detail
-
integrate
public void integrate(org.hibernate.boot.Metadata metadata, org.hibernate.boot.spi.BootstrapContext bootstrapContext, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
- 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
-
-