org.apache.cocoon.core.logging
Class SettingsContext

java.lang.Object
  extended byorg.apache.avalon.framework.context.DefaultContext
      extended byorg.apache.cocoon.core.logging.SettingsContext
All Implemented Interfaces:
Context, Serializable

public class SettingsContext
extends DefaultContext

This is an extension the default context implementation. It first looks into the settings object and only if the key is not found there, it delegates to the parent.

Since:
2.2
Version:
$Id: SettingsContext.java 225167 2005-07-25 19:24:01Z cziegeler $
See Also:
Serialized Form

Constructor Summary
SettingsContext(Context parentContext, Settings s)
           
 
Method Summary
 Object get(Object name)
           
 
Methods inherited from class org.apache.avalon.framework.context.DefaultContext
checkWriteable, equals, getContextData, getParent, hashCode, hide, makeReadOnly, put
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsContext

public SettingsContext(Context parentContext,
                       Settings s)
Method Detail

get

public Object get(Object name)
           throws ContextException
Throws:
ContextException
See Also:
Context.get(java.lang.Object)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.