org.apache.cocoon.core.container.spring.avalon
Class SettingsContext

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

public class SettingsContext
extends DefaultContext

This is an extension of 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. This object is used for setting up the logger.

Since:
2.2
Version:
$Id: SettingsContext.html 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also:
Serialized Form

Constructor Summary
SettingsContext(Context parentContext, org.apache.cocoon.configuration.Settings s)
           
SettingsContext(org.apache.cocoon.configuration.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,
                       org.apache.cocoon.configuration.Settings s)

SettingsContext

public SettingsContext(org.apache.cocoon.configuration.Settings s)
Method Detail

get

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


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.