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 FormModifier and Type | Field and Description |
---|---|
static String |
SESSION_FACTORY_PROPERTY_KEY |
Constructor and Description |
---|
HibernateSearchSessionFactoryObserver(org.hibernate.cfg.Configuration configuration,
FullTextIndexEventListener listener) |
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)
public void sessionFactoryCreated(org.hibernate.SessionFactory factory)
sessionFactoryCreated
in interface org.hibernate.SessionFactoryObserver
public void sessionFactoryClosed(org.hibernate.SessionFactory factory)
sessionFactoryClosed
in interface org.hibernate.SessionFactoryObserver
Copyright © 2006–2016 Hibernate. All rights reserved.