org.jcon.store
Interface StructuredStore

All Known Implementing Classes:
TOFStore

public interface StructuredStore

An interface for a high-level object storage mechanism that uses hierarchical storage paths to refer to objects.

Author:
Paul Reavis

Method Summary
 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 storeObject(java.lang.String storagePath, java.lang.Object object)
          Stores the object using the given path.
 

Method Detail

loadObject

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.


storeObject

void storeObject(java.lang.String storagePath,
                 java.lang.Object object)
                 throws StoreException
Stores the object using the given path. Throws StoreException if storage is not possible.

Throws:
StoreException