Class EnversIntegrator
- java.lang.Object
-
- org.hibernate.envers.boot.internal.EnversIntegrator
-
- All Implemented Interfaces:
Integrator
public class EnversIntegrator extends Object implements Integrator
Hooks up Envers event listeners.
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTO_REGISTER
-
Constructor Summary
Constructors Constructor Description EnversIntegrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Tongue-in-cheek name for a shutdown callback.void
integrate(Metadata metadata, BootstrapContext bootstrapContext, SessionFactoryImplementor sessionFactory)
Perform integration.-
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
-
-
-
-
Field Detail
-
AUTO_REGISTER
public static final String AUTO_REGISTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
integrate
public void integrate(Metadata metadata, BootstrapContext bootstrapContext, SessionFactoryImplementor sessionFactory)
Description copied from interface:Integrator
Perform integration.- Specified by:
integrate
in interfaceIntegrator
- Parameters:
metadata
- The fully initialized boot-time mapping modelbootstrapContext
- The context for bootstrapping of the SessionFactorysessionFactory
- The SessionFactory being created
-
disintegrate
public void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)
Description copied from interface:Integrator
Tongue-in-cheek name for a shutdown callback.- Specified by:
disintegrate
in interfaceIntegrator
- Parameters:
sessionFactory
- The session factory being closed.serviceRegistry
- That session factory's service registry
-
-