|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.services.SessionImpl org.apache.tapestry5.internal.services.ClusteredSessionImpl
public class ClusteredSessionImpl
A thin wrapper around HttpSession
.
Constructor Summary | |
---|---|
ClusteredSessionImpl(HttpServletRequest request,
HttpSession session,
SessionPersistedObjectAnalyzer analyzer)
|
Method Summary | |
---|---|
Object |
getAttribute(String name)
Returns the value previously stored in the session. |
void |
invalidate()
Invalidates this session then unbinds any objects bound to it. |
void |
restoreDirtyObjects()
Re-stores dirty objects back into the session. |
void |
setAttribute(String name,
Object value)
Sets the value of an attribute. |
Methods inherited from class org.apache.tapestry5.internal.services.SessionImpl |
---|
getAttributeNames, getAttributeNames, getMaxInactiveInterval, isInvalidated, setMaxInactiveInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusteredSessionImpl(HttpServletRequest request, HttpSession session, SessionPersistedObjectAnalyzer analyzer)
Method Detail |
---|
public Object getAttribute(String name)
Session
getAttribute
in interface Session
getAttribute
in class SessionImpl
public void setAttribute(String name, Object value)
Session
setAttribute
in interface Session
setAttribute
in class SessionImpl
public void invalidate()
Session
invalidate
in interface Session
invalidate
in class SessionImpl
public void restoreDirtyObjects()
Session
restoreDirtyObjects
in interface Session
restoreDirtyObjects
in class SessionImpl
OptimizedSessionPersistedObject
,
OptimizedSessionPersistedObjectAnalyzer
,
ImmutableSessionPersistedObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |