org.nanocontainer.persistence.hibernate.classic
Class SessionLifecycle
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
net.sf.hibernate.Session session
SessionLifecycle
public SessionLifecycle(net.sf.hibernate.Session session)
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.