org.objectweb.dsrg.sofa
Interface SOFAUpdatable


public interface SOFAUpdatable

Interface for business code dynamic update cooperation.

Component is asked through this interface to store its state or to load previously stored stote.


Method Summary
 void loadState(java.util.Map<java.lang.String,java.lang.Object> storage)
          Component is asked to load its state from a storage object.
 void saveState(java.util.Map<java.lang.String,java.lang.Object> storage)
          Component is asked to store its state to a storage object.
 

Method Detail

saveState

void saveState(java.util.Map<java.lang.String,java.lang.Object> storage)
               throws java.lang.Throwable
Component is asked to store its state to a storage object.

Parameters:
storage - The storage where to store the state.
Throws:
java.lang.Throwable

loadState

void loadState(java.util.Map<java.lang.String,java.lang.Object> storage)
               throws java.lang.Throwable
Component is asked to load its state from a storage object.

Parameters:
storage - The storage from which the state should be loaded.
Throws:
java.lang.Throwable