org.hibernate.search.hcore.impl
Class HibernateSessionFactoryServiceProvider

java.lang.Object
  extended by org.hibernate.search.hcore.impl.HibernateSessionFactoryServiceProvider
All Implemented Interfaces:
ServiceProvider<org.hibernate.SessionFactory>

public class HibernateSessionFactoryServiceProvider
extends Object
implements ServiceProvider<org.hibernate.SessionFactory>

A Hibernate Search service provider which allows to request a Hibernate SessionFactory during bootstrapping.

Author:
Hardy Ferentschik, Sanne Grinovero

Constructor Summary
HibernateSessionFactoryServiceProvider()
           
 
Method Summary
 org.hibernate.SessionFactory getService()
           
 void start(Properties properties, BuildContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateSessionFactoryServiceProvider

public HibernateSessionFactoryServiceProvider()
Method Detail

start

public void start(Properties properties,
                  BuildContext context)
Specified by:
start in interface ServiceProvider<org.hibernate.SessionFactory>

getService

public org.hibernate.SessionFactory getService()
Specified by:
getService in interface ServiceProvider<org.hibernate.SessionFactory>

stop

public void stop()
Specified by:
stop in interface ServiceProvider<org.hibernate.SessionFactory>


Copyright © 2006–2013 Hibernate. All rights reserved.