org.apache.avalon.fortress.util
Class OverridableContext
java.lang.Object
org.apache.avalon.framework.context.DefaultContext
org.apache.avalon.fortress.util.OverridableContext
- All Implemented Interfaces:
- java.io.Serializable, org.apache.avalon.framework.context.Context
public final class OverridableContext
- extends org.apache.avalon.framework.context.DefaultContext
The OverridableContext allows you to "null" out entries, even if they are
in a parent context.
- Version:
- CVS $Revision: 1.9 $ $Date: 2004/02/28 15:16:26 $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
|
Constructor Summary |
OverridableContext(org.apache.avalon.framework.context.Context parent)
Creation of a new overridable context. |
|
Method Summary |
void |
put(java.lang.Object key,
java.lang.Object value)
Add a context entry to the context. |
| Methods inherited from class org.apache.avalon.framework.context.DefaultContext |
checkWriteable, equals, get, getContextData, getParent, hashCode, hide, makeReadOnly |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
OverridableContext
public OverridableContext(org.apache.avalon.framework.context.Context parent)
- Creation of a new overridable context.
- Parameters:
parent - the parent context
put
public void put(java.lang.Object key,
java.lang.Object value)
- Add a context entry to the context.
- Overrides:
put in class org.apache.avalon.framework.context.DefaultContext
- Parameters:
key - the context keyvalue - the context value