public class SimpleSessionCache extends java.lang.Object implements SessionCache
SessionCache.| Constructor and Description |
|---|
SimpleSessionCache() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void init(WebApp wapp)
SessionCacheinit in interface SessionCachepublic void destroy(WebApp wapp)
SessionCachedestroy in interface SessionCachepublic void put(Session sess)
SessionCacheSession.getNativeSession().put in interface SessionCachesess - the ZK session.public Session get(java.lang.Object navsess)
SessionCacheget in interface SessionCachepublic void remove(Session sess)
SessionCacheremove in interface SessionCacheCopyright © 2005-2011 Potix Corporation. All Rights Reserved.