Class HibernateSearchIntegrator

java.lang.Object
org.hibernate.search.mapper.orm.bootstrap.impl.HibernateSearchIntegrator
All Implemented Interfaces:
Integrator

public class HibernateSearchIntegrator extends Object implements Integrator
Integrates Hibernate Search into Hibernate Core by registering its needed listeners
Author:
Emmanuel Bernard, Hardy Ferentschik, Steve Ebersole
  • Constructor Details

    • HibernateSearchIntegrator

      public HibernateSearchIntegrator()
  • 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