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| Modifier and Type | Field and Description |
|---|---|
static String |
SESSION_FACTORY_PROPERTY_KEY |
| Constructor and Description |
|---|
HibernateSearchSessionFactoryObserver(org.hibernate.cfg.Configuration configuration,
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 static final String SESSION_FACTORY_PROPERTY_KEY
public HibernateSearchSessionFactoryObserver(org.hibernate.cfg.Configuration configuration,
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–2014 Hibernate. All rights reserved.