com.marringtons.util
Class Session.PersistentData

java.lang.Object
  extended bycom.marringtons.object.DAO
      extended bycom.marringtons.util.Session.PersistentData
All Implemented Interfaces:
Closeable, Comparable
Enclosing class:
Session

public static class Session.PersistentData
extends DAO

This is DAO class used to persist session data to disk.


Nested Class Summary
static class Session.PersistentData.index
          A persistent Session is always indexed by session ID.
 
Field Summary
 HashMap map
          Hashmap containing session.
 String sessionID
          Unique session identifier.
 Date timeStamp
          Time of last update so old sessions can be removed.
 
Constructor Summary
Session.PersistentData()
           
 
Methods inherited from class com.marringtons.object.DAO
close, commit, commitImmediate, compareTo, copy, delete, discard, equals, find, get, getCurrentRecord, hashCode, isActive, load, newInstance, readOnly, setCurrentRecord, toString, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

sessionID

public String sessionID
Unique session identifier.


map

public HashMap map
Hashmap containing session.


timeStamp

public Date timeStamp
Time of last update so old sessions can be removed.

Constructor Detail

Session.PersistentData

public Session.PersistentData()


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