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:
- Context
- public final class OverridableContext
- extends DefaultContext
The OverridableContext allows you to "null" out entries, even if they are
in a parent context.
- Version:
- CVS $Revision: 1.7 $ $Date: 2003/04/18 20:02:30 $
- Author:
- Avalon Development Team
Method Summary |
void |
put(Object key,
Object value)
Add a context entry to the context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverridableContext
public OverridableContext(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 DefaultContext
- Parameters:
key
- the context keyvalue
- the context value
Copyright © 2000-2002 Apache Avalon Project. All Rights Reserved.