|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
The context is the section of the message containing information such as session management, transaction information, security data etc. Entries in the context may be ordered. This section should never be passed by reference.
Method Summary | |
---|---|
void |
clearContext()
Clear the context. |
java.lang.Object |
getContext(java.lang.String key)
Retrieves the context value. |
java.util.Set<java.lang.String> |
getContextKeys()
Get the keys in the context. |
java.lang.Object |
removeContext(java.lang.String key)
Remove the context value. |
java.lang.Object |
setContext(java.lang.String key,
java.lang.Object value)
Set the context value, replacing existing value if present. |
Method Detail |
---|
java.lang.Object setContext(java.lang.String key, java.lang.Object value)
key
- The context key.value
- The context value.
java.lang.Object getContext(java.lang.String key)
key
- The context key.
java.lang.Object removeContext(java.lang.String key)
key
- The context key.
java.util.Set<java.lang.String> getContextKeys()
void clearContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |