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 FormConstructor 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sessionFactoryClosing
public HibernateSearchSessionFactoryObserver(Metadata metadata, ConfigurationService configurationService, FullTextIndexEventListener listener, ClassLoaderService classLoaderService)
public void sessionFactoryCreated(SessionFactory factory)
sessionFactoryCreated
in interface SessionFactoryObserver
public void sessionFactoryClosed(SessionFactory factory)
sessionFactoryClosed
in interface SessionFactoryObserver
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved