|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Store
Main interface into the JEMM storage mechanism providing access to the root object.
Method Summary | |
---|---|
java.lang.Object |
getRoot(java.lang.String rootName)
Return the model object set for the root named 'rootName' |
void |
initialise()
Called by the Session.setStore method to inform the Store that is should start. |
void |
setRoot(java.lang.String rootName,
java.lang.Object value)
Set the store root object with the given rootName to hold a reference to the specified model object. |
java.lang.Object |
setRootIfNull(java.lang.String rootName,
java.lang.Object value)
Set the store root object with the given rootName to hold a reference to the specified model object if the value is currently null. |
void |
shutdown()
Shutdown should be called before the JVM is exited. |
Method Detail |
---|
void setRoot(java.lang.String rootName, java.lang.Object value)
rootName
- The name of the root.value
- The model object to store.java.lang.Object setRootIfNull(java.lang.String rootName, java.lang.Object value)
rootName
- The name of the root.value
- The model object to store.
java.lang.Object getRoot(java.lang.String rootName)
rootName
- The name of the root to fetch.
void shutdown()
void initialise()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |