public interface SessionDataMap extends LifeCycle
LifeCycle.Listener
Modifier and Type | Method and Description |
---|---|
boolean |
delete(String id)
Delete session data
|
void |
initialize(SessionContext context)
Initialize this data map for the
given context.
|
SessionData |
load(String id)
Read in session data.
|
void |
store(String id,
SessionData data)
Store the session data.
|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
void initialize(SessionContext context) throws Exception
context
- context associatedException
SessionData load(String id) throws Exception
id
- identity of session to loadException
- if unable to load session datavoid store(String id, SessionData data) throws Exception
id
- identity of session to storedata
- info of session to storeException
- if unable to write session dataCopyright © 1995–2017 Webtide. All rights reserved.