|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Implementation context.
The context stores key-value pairs bound to a client. For every method invocation identical clients get identical contexts.
ContextFactory| Method Summary | |
Object |
getAttribute(String key)
Gets an attribute from the context. |
Object |
removeAttribute(String key)
Removes an attribute from the context. |
Object |
setAttribute(String key,
Serializable o)
Sets an attribute in the context. |
| Method Detail |
public Object getAttribute(String key)
key - Key of the attribute to return.
NullPointerException - if is .public Object removeAttribute(String key)
key - Key of the attribute to remove.
NullPointerException - if is .
public Object setAttribute(String key,
Serializable o)
key - Key of the attribute to store with.o - Object to store with key .
NullPointerException - if is .
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||