com.marringtons.util
Class Session.Lifetime

java.lang.Object
  extended bycom.marringtons.util.Session.Lifetime
Enclosing class:
Session

public static class Session.Lifetime
extends Object

Lifetime provides typesafe definition of session lifetime, being this session only or persist to disk to load the next time the same client activates a session.


Field Summary
static Session.Lifetime persistent
          Scope to be used if data is to be saved to disk
static Session.Lifetime session
          Scope to be used if data is to be discarded when session closes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistent

public static final Session.Lifetime persistent
Scope to be used if data is to be saved to disk


session

public static final Session.Lifetime session
Scope to be used if data is to be discarded when session closes



Copyright © 2005 Paul Marrington http://library.marringtons.com