|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcon.store.TOFStore
public class TOFStore
A StructuredStore implementation which uses the TOF format to store object graphs in a StreamingStore device.
| Constructor Summary | |
|---|---|
TOFStore()
|
|
TOFStore(StreamingStore streamStore)
|
|
| Method Summary | |
|---|---|
static TOFStore |
currentDirSingleton()
Returns the only needed TOFStore that pulls things from class resources. |
LookupDatabase |
getLookup()
|
StreamingStore |
getStreamingStore()
|
java.lang.Object |
loadObject(java.lang.String storagePath)
Returns an object for the given storage path; null if the named object is not in the store. |
void |
setLookup(LookupDatabase newLookup)
|
void |
setStreamingStore(StreamingStore newStore)
|
static TOFStore |
singleton()
Returns the only needed TOFStore that pulls things from class resources. |
void |
storeObject(java.lang.String storagePath,
java.lang.Object object)
Stores the object using the given path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TOFStore()
public TOFStore(StreamingStore streamStore)
| Method Detail |
|---|
public static TOFStore singleton()
public static TOFStore currentDirSingleton()
public java.lang.Object loadObject(java.lang.String storagePath)
loadObject in interface StructuredStore
public void storeObject(java.lang.String storagePath,
java.lang.Object object)
throws StoreException
storeObject in interface StructuredStoreStoreExceptionpublic StreamingStore getStreamingStore()
public void setStreamingStore(StreamingStore newStore)
public LookupDatabase getLookup()
public void setLookup(LookupDatabase newLookup)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||