|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Session
An abstract interface to provide session storage to Axis services.
This is extremely basic at the moment.
| Method Summary | |
|---|---|
Object |
get(String key)
Get a property from the session |
Enumeration |
getKeys()
Get an enumeration of the keys in this session |
Object |
getLockObject()
Get an Object suitable for synchronizing the session. |
int |
getTimeout()
Return the sessions' time-to-live. |
void |
remove(String key)
Remove a property from the session |
void |
set(String key,
Object value)
Set a property in the session |
void |
setTimeout(int timeout)
Set the session's time-to-live. |
void |
touch()
"Touch" the session (mark it recently used) |
| Method Detail |
|---|
Object get(String key)
key - the name of the property desired.
void set(String key,
Object value)
key - the name of the property to set.value - the value of the property.void remove(String key)
key - the name of the property desired.Enumeration getKeys()
void setTimeout(int timeout)
int getTimeout()
void touch()
Object getLockObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||