org.huihoo.jfox.persistent
Interface Persistenter

All Known Implementing Classes:
AbstractPersistenter

public interface Persistenter


Method Summary
 java.lang.Object load(java.lang.Object identity)
          Loads the information persisted on the storage media.
 void store(java.lang.Object identity, java.lang.Object data)
          Store the given information to the storage media.
 

Method Detail

load

public java.lang.Object load(java.lang.Object identity)
                      throws java.lang.Exception
Loads the information persisted on the storage media.

Throws:
java.lang.Exception
See Also:
store(java.lang.Object, java.lang.Object)

store

public void store(java.lang.Object identity,
                  java.lang.Object data)
           throws java.lang.Exception
Store the given information to the storage media.

Throws:
java.lang.Exception
See Also:
load(java.lang.Object)