public final class DefaultContext extends Object implements Context
| Constructor and Description |
|---|
DefaultContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String key,
Object value)
Adds a context entry.
|
Object |
get(String key)
Searches for the value with the specified attribute key in this context.
|
com.google.common.collect.ImmutableCollection<String> |
getAttributeNames()
Returns the names of all attributes of this context.
|
public DefaultContext()
public Object get(String key)
Contextpublic com.google.common.collect.ImmutableCollection<String> getAttributeNames()
ContextgetAttributeNames in interface ContextCopyright © 2001–2018. All rights reserved.