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)
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
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.