public class ContextWrapper extends Object implements org.apache.commons.chain.Context
Provide a base class for any Context Implementation which is primarily intended for use in a subchain.
Classes which extend
ContextWrapper
may implement typesafe property methods which
also leave their values in the underlying context.
Constructor and Description |
---|
ContextWrapper(org.apache.commons.chain.Context context)
Instantiate object as a composite around the given Context.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set |
entrySet() |
Object |
get(Object key) |
protected org.apache.commons.chain.Context |
getBaseContext()
Provide the underlying Context for this composite.
|
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map map) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public ContextWrapper(org.apache.commons.chain.Context context)
Instantiate object as a composite around the given Context.
context
- Context instance to wrapprotected org.apache.commons.chain.Context getBaseContext()
public Collection values()
public boolean containsValue(Object o)
containsValue
in interface Map
public boolean containsKey(Object o)
containsKey
in interface Map
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.