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)
Context
public com.google.common.collect.ImmutableCollection<String> getAttributeNames()
Context
getAttributeNames
in interface Context
Copyright © 2001–2018. All rights reserved.