K - The Type for the Key.SK - the type of keys maintained by the session attribute mapSV - the type of mapped values *public interface SessionContext<K,SK,SV> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(Session<SK,SV> session)
Adds the session to the context.
|
Session<SK,SV> |
getSession(K id)
Gets the session from the given id.
|
void |
removeSession(K id)
Removes the session from the context.
|
void addSession(Session<SK,SV> session)
session - the sessionSession<SK,SV> getSession(K id)
id - the idvoid removeSession(K id)
id - the id from the session to be removed.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.