org.nanocontainer.persistence.hibernate.classic
Class SessionLifecycle

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

public class SessionLifecycle
extends Object
implements org.picocontainer.Startable

component providing session lifecycle to be registered in container containing session in question

Version:
$Revision: 2043 $
Author:
Konstantin Pribluda

Field Summary
(package private)  net.sf.hibernate.Session session
           
 
Constructor Summary
SessionLifecycle(net.sf.hibernate.Session session)
           
 
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

session

net.sf.hibernate.Session session
Constructor Detail

SessionLifecycle

public SessionLifecycle(net.sf.hibernate.Session session)
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.