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 Details

  • Constructor Details

    • EnversIntegrator

      public EnversIntegrator()
  • Method Details

    • integrate

      public void integrate(Metadata metadata, BootstrapContext bootstrapContext, SessionFactoryImplementor sessionFactory)
      Description copied from interface: Integrator
      Perform integration.
      Specified by:
      integrate in interface Integrator
      Parameters:
      metadata - The fully initialized boot-time mapping model
      bootstrapContext - The context for bootstrapping of the SessionFactory
      sessionFactory - 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 interface Integrator
      Parameters:
      sessionFactory - The session factory being closed.
      serviceRegistry - That session factory's service registry