public class HibernateSessionFactoryServiceProvider extends Object implements ServiceProvider<org.hibernate.SessionFactory>
SessionFactory
during bootstrapping.Constructor and Description |
---|
HibernateSessionFactoryServiceProvider() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.SessionFactory |
getService() |
void |
start(Properties properties,
BuildContext context) |
void |
stop() |
public HibernateSessionFactoryServiceProvider()
public void start(Properties properties, BuildContext context)
start
in interface ServiceProvider<org.hibernate.SessionFactory>
public org.hibernate.SessionFactory getService()
getService
in interface ServiceProvider<org.hibernate.SessionFactory>
public void stop()
stop
in interface ServiceProvider<org.hibernate.SessionFactory>
Copyright © 2006–2016 Hibernate. All rights reserved.