public abstract class AbstractAttributeStoringSession extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.Integer, java.util.Map<java.lang.String, java.lang.Object>> |
attributes |
|
protected java.util.Map<java.lang.String, java.lang.Object> |
sessionPropertyMap |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
clearSessionProperty(java.lang.String property) Clear a property in a session. |
|
void |
disconnect() Performs clear up. |
|
java.lang.Object |
getAttribute(java.lang.Object entity, java.lang.String attributeName) |
|
java.lang.Object |
getSessionProperty(java.lang.String property) Get the value of a property of the session. |
|
boolean |
isConnected() |
|
protected void |
removeAttributesForEntity(java.lang.Object entity) |
|
void |
setAttribute(java.lang.Object entity, java.lang.String attributeName, java.lang.Object value) |
|
java.lang.Object |
setSessionProperty(java.lang.String property, java.lang.Object value) Set a property on this session. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Clear a property in a session.
property
- The property name.Performs clear up. Subclasses should always call into this super implementation.
Get the value of a property of the session.
property
- The name of the property.Set a property on this session. Note that properties are not cleared out when a session is cleared.
property
- The property name.value
- The property value.