|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 SessionCache
public void destroy(WebApp wapp)
SessionCache
destroy
in interface SessionCache
public void put(Session sess)
SessionCache
Session.getNativeSession()
.
put
in interface SessionCache
sess
- the ZK session.public Session get(java.lang.Object navsess)
SessionCache
get
in interface SessionCache
public 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 |