Class EventListenerIntegrator
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.EventListenerIntegrator
-
- All Implemented Interfaces:
org.hibernate.integrator.spi.Integrator
public class EventListenerIntegrator extends Object implements org.hibernate.integrator.spi.Integrator
Adding listeners to Hibernate's entity manager for the JPA Map store. This used to be a JPA map storage specific configuration via the Hibernate optionhibernate.integrator_provider
which worked in an Undertow setup but not in a Quarkus setup. As this will be called for both the legacy store and the new JPA Map store, it first checks if the JPA Map store has been enabled. A follow-up issue to track this is here: #13219
-
-
Constructor Summary
Constructors Constructor Description EventListenerIntegrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry sessionFactoryServiceRegistry)
void
integrate(org.hibernate.boot.Metadata metadata, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry sessionFactoryServiceRegistry)
-
-
-
Method Detail
-
integrate
public void integrate(org.hibernate.boot.Metadata metadata, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry sessionFactoryServiceRegistry)
- Specified by:
integrate
in interfaceorg.hibernate.integrator.spi.Integrator
-
disintegrate
public void disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry sessionFactoryServiceRegistry)
- Specified by:
disintegrate
in interfaceorg.hibernate.integrator.spi.Integrator
-
-