An Object that contains internal state.
Component mobility and persistence requires the saving and
restoration of internal Component state. The typical lifecycle
for both scenarios is:
- The Component is asked for it's state
- The Component is destroyed
- A new instance of the Component is created from a
ComponentDescription . The new location
might be on a different host.
- The state is passed to the StateComponent
-
All Container s are StateComponents because (minimally)
they contain a tree of child Components.
Binder s act as proxies for the child state-saving.
This interface might be removed in the future and replaced
with reflective method-lookup, similar to BindingUtility .
|