|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.clustering.wadi.WADISessionAdaptor
public class WADISessionAdaptor
Constructor Summary | |
---|---|
WADISessionAdaptor(org.codehaus.wadi.core.session.Session session)
|
Method Summary | |
---|---|
Object |
addState(String key,
Object value)
Map like contract to manipulate state information. |
String |
getSessionId()
Gets the sessionId. |
Map |
getState()
Map like contract to manipulate state information. |
Object |
getState(String key)
Map like contract to manipulate state information. |
void |
onEndAccess()
Notifies the session that state accesses are now completed. |
void |
release()
Releases the session. |
Object |
removeState(String key)
Map like contract to manipulate state information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WADISessionAdaptor(org.codehaus.wadi.core.session.Session session)
Method Detail |
---|
public String getSessionId()
Session
getSessionId
in interface Session
public void release()
Session
When a Session is released, it is released from the underlying set of SessionManagers. In other words, its sessionId is unknown and its state is permanently lost. After the release of a Session, the behavior of the other methods is undefined.
release
in interface Session
public Object addState(String key, Object value)
Session
addState
in interface Session
public Object getState(String key)
Session
getState
in interface Session
public Object removeState(String key)
Session
removeState
in interface Session
public Map getState()
Session
The returned Map is mutable and is backed by the session.
getState
in interface Session
public void onEndAccess()
Session
When state accesses end, the underlying local SessionManager may decide to replicate synchronously or asynchronously the current state to remote SessionManagers.
onEndAccess
in interface Session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |