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:
- 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(Object key,
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 |
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(Object key,
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
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.