public abstract class AbstractContext extends Object implements Context
Modifier and Type | Field and Description |
---|---|
protected Context |
parentContext |
Constructor and Description |
---|
AbstractContext(Context parentContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(String key)
Searches for the key in this context and its hierarchy
|
void |
destroy() |
protected abstract Object |
doGet(String key) |
Object |
get(String key) |
<T> T |
get(String key,
T defaultValue) |
Object |
getAt(String key) |
<T> T |
getAt(String key,
T defaultValue) |
protected Context parentContext
public boolean containsKey(@Nonnull String key)
Context
containsKey
in interface Context
key
- the key to search