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

java.lang.Object
  extended byorg.apache.cocoon.core.container.spring.avalon.AvalonUtils

public class AvalonUtils
extends Object

Some utility methods for handling Avalon stuff.

Since:
2.2
Version:
$Id: AvalonUtils.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
static String CONTEXT_ROLE
          Bean name for the Avalon context.
static String SERVICE_MANAGER_ROLE
          Bean name for the service manager.
 
Constructor Summary
AvalonUtils()
           
 
Method Summary
protected static void _replaceProperties(DefaultConfiguration config, org.apache.cocoon.configuration.Settings settings)
          Recursivly replace the properties of a configuration object.
static Configuration replaceProperties(Configuration tree, org.apache.cocoon.configuration.Settings settings)
          Replace all properties in the configuration object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_ROLE

public static final String CONTEXT_ROLE
Bean name for the Avalon context.

See Also:
Constant Field Values

SERVICE_MANAGER_ROLE

public static final String SERVICE_MANAGER_ROLE
Bean name for the service manager.

See Also:
Constant Field Values
Constructor Detail

AvalonUtils

public AvalonUtils()
Method Detail

replaceProperties

public static Configuration replaceProperties(Configuration tree,
                                              org.apache.cocoon.configuration.Settings settings)
                                       throws ConfigurationException
Replace all properties in the configuration object.

Parameters:
tree - The configuration.
settings - The settings object to resolve the properties.
Throws:
ConfigurationException

_replaceProperties

protected static void _replaceProperties(DefaultConfiguration config,
                                         org.apache.cocoon.configuration.Settings settings)
                                  throws ConfigurationException
Recursivly replace the properties of a configuration object.

Parameters:
config - The configuration.
settings - The settings object to resolve the properties.
Throws:
ConfigurationException


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