void |
AbstractNativeSessionManager.checkValid(SessionKey key) |
|
void |
NativeSessionManager.checkValid(SessionKey key) |
Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws
an InvalidSessionException indicating that the session id is invalid.
|
protected Session |
AbstractNativeSessionManager.createExposedSession(Session session,
SessionKey key) |
|
protected abstract Session |
AbstractNativeSessionManager.doGetSession(SessionKey key) |
|
protected Session |
AbstractValidatingSessionManager.doGetSession(SessionKey key) |
|
Object |
AbstractNativeSessionManager.getAttribute(SessionKey sessionKey,
Object attributeKey) |
|
Object |
NativeSessionManager.getAttribute(SessionKey sessionKey,
Object attributeKey) |
Returns the object bound to the associated session identified by the specified attribute key.
|
Collection<Object> |
AbstractNativeSessionManager.getAttributeKeys(SessionKey key) |
|
Collection<Object> |
NativeSessionManager.getAttributeKeys(SessionKey sessionKey) |
Returns all attribute keys maintained by the target session or an empty collection if there are no attributes.
|
String |
AbstractNativeSessionManager.getHost(SessionKey key) |
|
String |
NativeSessionManager.getHost(SessionKey key) |
Returns the host name or IP string of the host where the session was started, if known.
|
Date |
AbstractNativeSessionManager.getLastAccessTime(SessionKey key) |
|
Date |
NativeSessionManager.getLastAccessTime(SessionKey key) |
Returns the time the associated Session last interacted with the system.
|
Session |
AbstractNativeSessionManager.getSession(SessionKey key) |
|
Session |
SessionManager.getSession(SessionKey key) |
Retrieves the session corresponding to the specified contextual data (such as a session ID if applicable), or
null if no Session could be found.
|
protected Serializable |
DefaultSessionManager.getSessionId(SessionKey sessionKey) |
|
Date |
AbstractNativeSessionManager.getStartTimestamp(SessionKey key) |
|
Date |
NativeSessionManager.getStartTimestamp(SessionKey key) |
Returns the time the associated Session started (was created).
|
long |
AbstractNativeSessionManager.getTimeout(SessionKey key) |
|
long |
NativeSessionManager.getTimeout(SessionKey key) |
Returns the time in milliseconds that the associated session may remain idle before expiring.
|
boolean |
AbstractNativeSessionManager.isValid(SessionKey key) |
|
boolean |
NativeSessionManager.isValid(SessionKey key) |
Returns true if the associated session is valid (it exists and is not stopped nor expired),
false otherwise.
|
protected void |
AbstractValidatingSessionManager.onExpiration(Session s,
ExpiredSessionException ese,
SessionKey key) |
|
protected void |
AbstractValidatingSessionManager.onInvalidation(Session s,
InvalidSessionException ise,
SessionKey key) |
|
protected void |
AbstractNativeSessionManager.onStop(Session session,
SessionKey key) |
|
Object |
AbstractNativeSessionManager.removeAttribute(SessionKey sessionKey,
Object attributeKey) |
|
Object |
NativeSessionManager.removeAttribute(SessionKey sessionKey,
Object attributeKey) |
Removes (unbinds) the object bound to associated Session under the given attributeKey .
|
protected abstract Session |
AbstractValidatingSessionManager.retrieveSession(SessionKey key) |
Looks up a session from the underlying data store based on the specified session key.
|
protected Session |
DefaultSessionManager.retrieveSession(SessionKey sessionKey) |
|
void |
AbstractNativeSessionManager.setAttribute(SessionKey sessionKey,
Object attributeKey,
Object value) |
|
void |
NativeSessionManager.setAttribute(SessionKey sessionKey,
Object attributeKey,
Object value) |
Binds the specified value to the associated session uniquely identified by the attributeKey .
|
void |
AbstractNativeSessionManager.setTimeout(SessionKey key,
long maxIdleTimeInMillis) |
|
void |
NativeSessionManager.setTimeout(SessionKey key,
long maxIdleTimeInMillis) |
Sets the time in milliseconds that the associated session may remain idle before expiring.
|
void |
AbstractNativeSessionManager.stop(SessionKey key) |
|
void |
NativeSessionManager.stop(SessionKey key) |
Explicitly stops the associated session, thereby releasing all of its resources.
|
void |
AbstractNativeSessionManager.touch(SessionKey key) |
|
void |
NativeSessionManager.touch(SessionKey key) |
Updates the last accessed time of the session identified by sessionId .
|
protected void |
AbstractValidatingSessionManager.validate(Session session,
SessionKey key) |
|