org.picocontainer.persistence.hibernate
Class SessionLifecycle

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

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

Adds lifecycle method to the delegate session.

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 © 2008. All Rights Reserved.