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 FormConstructor and Description |
---|
HibernateSearchSessionFactoryObserver(org.hibernate.boot.Metadata metadata,
org.hibernate.engine.config.spi.ConfigurationService configurationService,
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 HibernateSearchSessionFactoryObserver(org.hibernate.boot.Metadata metadata, org.hibernate.engine.config.spi.ConfigurationService configurationService, FullTextIndexEventListener listener, org.hibernate.boot.registry.classloading.spi.ClassLoaderService classLoaderService)
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.