org.picocontainer.persistence.hibernate
Class SessionFactoryLifecycle

java.lang.Object
  extended by org.picocontainer.persistence.hibernate.SessionFactoryLifecycle
All Implemented Interfaces:
org.picocontainer.Startable

public final class SessionFactoryLifecycle
extends Object
implements org.picocontainer.Startable

Add lifecycle methods to the delegate factory

Author:
Jose Peleteiro, Mauro Talevi

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

Constructor Detail

SessionFactoryLifecycle

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

start

public void start()
Specified by:
start in interface org.picocontainer.Startable

stop

public void stop()
Specified by:
stop in interface org.picocontainer.Startable


Copyright © 2008. All Rights Reserved.