org.hibernate.search.hcore.impl
Class HibernateSearchIntegrator

java.lang.Object
  extended by org.hibernate.search.hcore.impl.HibernateSearchIntegrator
All Implemented Interfaces:
org.hibernate.integrator.spi.Integrator

public class HibernateSearchIntegrator
extends Object
implements org.hibernate.integrator.spi.Integrator

Integrates Hibernate Search into Hibernate Core by registering its needed listeners

Author:
Emmanuel Bernard, Hardy Ferentschik, Steve Ebersole

Nested Class Summary
static class HibernateSearchIntegrator.DuplicationStrategyImpl
           
 
Field Summary
static String AUTO_REGISTER
           
 
Constructor Summary
HibernateSearchIntegrator()
           
 
Method Summary
 void disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
           
 void integrate(org.hibernate.cfg.Configuration configuration, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
           
 void integrate(org.hibernate.metamodel.source.MetadataImplementor metadata, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTO_REGISTER

public static final String AUTO_REGISTER
See Also:
Constant Field Values
Constructor Detail

HibernateSearchIntegrator

public HibernateSearchIntegrator()
Method Detail

integrate

public void integrate(org.hibernate.cfg.Configuration configuration,
                      org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
                      org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
Specified by:
integrate in interface org.hibernate.integrator.spi.Integrator

integrate

public void integrate(org.hibernate.metamodel.source.MetadataImplementor metadata,
                      org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
                      org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
Specified by:
integrate in interface org.hibernate.integrator.spi.Integrator

disintegrate

public void disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
                         org.hibernate.service.spi.SessionFactoryServiceRegistry serviceRegistry)
Specified by:
disintegrate in interface org.hibernate.integrator.spi.Integrator


Copyright © 2006–2013 Hibernate. All rights reserved.