|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationStatePersistenceStrategy
Used by ApplicationStateManager to manage a specific kind of ASO persistence. The stategy is responsible for
managing ASO instances within its domain.
ApplicationStatePersistenceStrategySource| Method Summary | ||
|---|---|---|
|
exists(Class<T> asoClass)
Returns true if the ASO already exists, false if null. |
|
|
get(Class<T> asoClass,
ApplicationStateCreator<T> creator)
Gets the ASO from the domain. |
|
|
set(Class<T> asoClass,
T aso)
Stores a new ASO, possibly replacing the existing one. |
|
| Method Detail |
|---|
<T> T get(Class<T> asoClass,
ApplicationStateCreator<T> creator)
<T> void set(Class<T> asoClass,
T aso)
T - asoClass - aso - instance to store, or null to delete existing<T> boolean exists(Class<T> asoClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||