net.spy.db
Class SaveContext

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by net.spy.db.SaveContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class SaveContext
extends java.util.Hashtable

Context shared by all Savables inside a Saver. This lets the Savables keep track of whatever state they may need in order to maintain key integrity or whatever.

See Also:
Serialized Form

Constructor Summary
SaveContext()
          Get an instance of SaveContext.
 
Method Summary
 int getId()
          Get the session ID for this context.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SaveContext

public SaveContext()
Get an instance of SaveContext.

Method Detail

getId

public int getId()
Get the session ID for this context. The session ID is not guaranteed to be globally unique, just unique enough for local correlation in logs.



Copyright © 1995-2005 SPY Internetworking. All Rights Reserved.