|
||||||||||
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 Session State Object (SSO) persistence. The
stategy is responsible for managing SSO instances within its domain.
ApplicationStatePersistenceStrategySource
Method Summary | ||
---|---|---|
|
exists(Class<T> ssoClass)
Returns true if the SSO already exists, false if null. |
|
|
get(Class<T> ssoClass,
ApplicationStateCreator<T> creator)
Gets the SSO from the domain. |
|
|
set(Class<T> ssoClass,
T sso)
Stores a new SSO, possibly replacing the existing one. |
Method Detail |
---|
<T> T get(Class<T> ssoClass, ApplicationStateCreator<T> creator)
<T> void set(Class<T> ssoClass, T sso)
T
- ssoClass
- sso
- instance to store, or null to delete existing<T> boolean exists(Class<T> ssoClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |