org.huihoo.jfox.persistent
Interface PersistenterMBean

All Known Implementing Classes:
Persistenter

public interface PersistenterMBean

Author:
Young Yang

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.
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.
See Also:
load(java.lang.Object)