|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SessionState is an interface for objects that provide name - value information sets with a unique key that can be used in the StateManager service
See the proposal: jakarta-jetspeed/proposals/StateManager.txt for more details.
StateManagerService
Method Summary | |
void |
clear()
Remove all attributes. |
java.lang.Object |
getAttribute(java.lang.String name)
Access the named attribute. |
java.lang.String[] |
getAttributeNames()
Access an array of all names of attributes stored in the SessionState. |
java.lang.String |
getKey()
Access the unique StateManager key for the SessionState. |
void |
removeAttribute(java.lang.String name)
Remove the named attribute, if it exists. |
void |
retire()
Retire, forget about and clean up this state. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set the named attribute value to the provided object. |
Method Detail |
public java.lang.Object getAttribute(java.lang.String name)
name
- The attribute name.
public void setAttribute(java.lang.String name, java.lang.Object value)
name
- The attribute name.value
- The value of the attribute (any object type).public void removeAttribute(java.lang.String name)
name
- The attribute name.public void clear()
public java.lang.String[] getAttributeNames()
public java.lang.String getKey()
public void retire()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |