|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.hammurapi.legacy.persistence.MemoryStorage
public class MemoryStorage
This class allows to persist and unload from memory persistable objects which refer to non-persistable objects.
Constructor Summary | |
---|---|
MemoryStorage()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key)
Retrieves object from storage |
java.lang.String |
put(java.lang.Object o)
Stores object to storage and returns key. |
void |
remove(java.lang.String key)
Removes object from storage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryStorage()
Method Detail |
---|
public java.lang.String put(java.lang.Object o)
Storage
put
in interface Storage
public void remove(java.lang.String key)
Storage
remove
in interface Storage
public java.lang.Object get(java.lang.String key)
Storage
get
in interface Storage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |