org.nanocontainer.persistence.hibernate
Class SessionLifecycle

java.lang.Object
  extended by org.nanocontainer.persistence.hibernate.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:
Jose Peleteiro

Constructor Summary
SessionLifecycle(org.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
 

Constructor Detail

SessionLifecycle

public SessionLifecycle(org.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.