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

Constructor Summary
OverridableContext(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, get, getContextData, getParent, hide, makeReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverridableContext

public OverridableContext(Context parent)
Creation of a new overridable context.

Parameters:
parent - the parent context
Method Detail

put

public void put(Object key,
                Object value)
Add a context entry to the context.

Overrides:
put in class DefaultContext
Parameters:
key - the context key
value - the context value


Copyright © 2000-2002 Apache Avalon Project. All Rights Reserved.