org.riotfamily.riot.hibernate.domain
Class ActiveRecordInitializer

java.lang.Object
  extended by org.riotfamily.riot.hibernate.domain.ActiveRecordInitializer

public class ActiveRecordInitializer
extends Object

Class to set the static SessionFactory reference for ActiveRecords.

Since:
8.0
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
ActiveRecordInitializer(org.hibernate.SessionFactory sessionFactory)
           
 
Method Summary
static 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

ActiveRecordInitializer

public ActiveRecordInitializer(org.hibernate.SessionFactory sessionFactory)
Method Detail

setSessionFactory

public static void setSessionFactory(org.hibernate.SessionFactory sessionFactory)