Dashboard Builder Commons 6.2.0.CR4

org.jboss.dashboard.database.hibernate
Class HibernateSessionFactoryProvider

java.lang.Object
  extended by org.jboss.dashboard.database.hibernate.HibernateSessionFactoryProvider

@ApplicationScoped
public class HibernateSessionFactoryProvider
extends Object

Class that holds the Hibernate SessionFactory initialized during the application start-up time.

See Also:
HibernateInitializer

Constructor Summary
HibernateSessionFactoryProvider()
           
 
Method Summary
 org.hibernate.SessionFactory getSessionFactory()
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateSessionFactoryProvider

public HibernateSessionFactoryProvider()
Method Detail

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory()

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)

Dashboard Builder Commons 6.2.0.CR4

Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.