public class HibernateSearchSessionFactoryObserver extends Object implements org.hibernate.SessionFactoryObserver
SessionFactoryObserver registered with Hibernate ORM during the integration phase. This observer will
create the Search factory once the SessionFactory is built.HibernateSearchIntegrator,
Serialized Form| Constructor and Description |
|---|
HibernateSearchSessionFactoryObserver(org.hibernate.boot.Metadata metadata,
org.hibernate.engine.config.spi.ConfigurationService configurationService,
FullTextIndexEventListener listener,
org.hibernate.boot.registry.classloading.spi.ClassLoaderService classLoaderService) |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionFactoryClosed(org.hibernate.SessionFactory factory) |
void |
sessionFactoryCreated(org.hibernate.SessionFactory factory) |
public HibernateSearchSessionFactoryObserver(org.hibernate.boot.Metadata metadata,
org.hibernate.engine.config.spi.ConfigurationService configurationService,
FullTextIndexEventListener listener,
org.hibernate.boot.registry.classloading.spi.ClassLoaderService classLoaderService)
public void sessionFactoryCreated(org.hibernate.SessionFactory factory)
sessionFactoryCreated in interface org.hibernate.SessionFactoryObserverpublic void sessionFactoryClosed(org.hibernate.SessionFactory factory)
sessionFactoryClosed in interface org.hibernate.SessionFactoryObserverCopyright © 2006–2017 Hibernate. All rights reserved.