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| Constructor and Description |
|---|
HibernateSearchSessionFactoryObserver(Metadata metadata,
ConfigurationService configurationService,
FullTextIndexEventListener listener,
ClassLoaderService classLoaderService) |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionFactoryClosed(SessionFactory factory) |
void |
sessionFactoryCreated(SessionFactory factory) |
public HibernateSearchSessionFactoryObserver(Metadata metadata, ConfigurationService configurationService, FullTextIndexEventListener listener, ClassLoaderService classLoaderService)
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