public class DefaultCompositeState extends java.lang.Object implements CompositeState
Stateful.State
Constructor and Description |
---|
DefaultCompositeState() |
Modifier and Type | Method and Description |
---|---|
Stateful |
get(java.lang.Object key) |
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
Stateful |
put(java.lang.Object key,
Stateful state) |
void |
releaseState()
Release state and any resources its holding.
|
Stateful |
remove(java.lang.Object key) |
protected java.lang.Object |
stateLockObject() |
public Stateful get(java.lang.Object key)
get
in interface CompositeState
public Stateful put(java.lang.Object key, Stateful state)
put
in interface CompositeState
public Stateful remove(java.lang.Object key)
remove
in interface CompositeState
public void releaseState()
Stateful
releaseState
in interface Stateful
public void invalidateState()
Stateful
invalidateState
in interface Stateful
public void initializeState()
Stateful
initializeState
in interface Stateful
protected java.lang.Object stateLockObject()