org.apache.avalon.fortress.util
Class OverridableContext

java.lang.Object
  extended byorg.apache.avalon.framework.context.DefaultContext
      extended byorg.apache.avalon.fortress.util.OverridableContext
All Implemented Interfaces:
Context, java.io.Serializable

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.9 $ $Date: 2004/02/28 15:16:26 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
OverridableContext(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
 

Constructor Detail

OverridableContext

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

Parameters:
parent - the parent context
Method Detail

put

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

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


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.