org.nanocontainer.persistence.hibernate.classic
Class SessionFactoryLifecycle

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

public class SessionFactoryLifecycle
extends Object
implements org.picocontainer.Startable

component organising lifecycle for session factory

Version:
$Revision: 2043 $
Author:
Konstanti Pribluda

Field Summary
(package private)  net.sf.hibernate.SessionFactory sessionFactory
           
 
Constructor Summary
SessionFactoryLifecycle(net.sf.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
 

Field Detail

sessionFactory

net.sf.hibernate.SessionFactory sessionFactory
Constructor Detail

SessionFactoryLifecycle

public SessionFactoryLifecycle(net.sf.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 2003-2003-2006 Codehaus. All Rights Reserved.