|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.http.SimpleSessionCache
public class SimpleSessionCache
A simple implementation of SessionCache.
| Constructor Summary | |
|---|---|
SimpleSessionCache()
|
|
| Method Summary | |
|---|---|
void |
destroy(WebApp wapp)
Destroys the session cache |
Session |
get(java.lang.Object navsess)
Retrieves a ZK session from the cache, or null if the ZK session is not stored. |
void |
init(WebApp wapp)
Initializes the session cache. |
void |
put(Session sess)
Puts a ZK session to the cache. |
void |
remove(Session sess)
Removes the ZK session from the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSessionCache()
| Method Detail |
|---|
public void init(WebApp wapp)
SessionCache
init in interface SessionCachepublic void destroy(WebApp wapp)
SessionCache
destroy in interface SessionCachepublic void put(Session sess)
SessionCacheSession.getNativeSession().
put in interface SessionCachesess - the ZK session.public Session get(java.lang.Object navsess)
SessionCache
get in interface SessionCachepublic void remove(Session sess)
SessionCache
remove in interface SessionCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||