org.hibernate.search.hcore.impl
public class HibernateSearchSessionFactoryObserver extends Object implements 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(Configuration configuration,
FullTextIndexEventListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionFactoryClosed(SessionFactory factory) |
void |
sessionFactoryCreated(SessionFactory factory) |
public static final String SESSION_FACTORY_PROPERTY_KEY
public HibernateSearchSessionFactoryObserver(Configuration configuration, FullTextIndexEventListener listener)
public void sessionFactoryCreated(SessionFactory factory)
sessionFactoryCreated in interface SessionFactoryObserverpublic void sessionFactoryClosed(SessionFactory factory)
sessionFactoryClosed in interface SessionFactoryObserverCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved