in contrib/java/org/apache/fulcrum/yaafi/framework/configuration/CommonsConfigurationCCPResolver.java [213:239]
public Properties resolve(Properties defaults) throws Exception
{
Properties result = new Properties();
/* Add defaults if they are available */
if (defaults != null)
{
result.putAll(defaults);
}
/* Add Avalon context entries */
addAvalonContext(result);
/* Add the complete set of key/value pairs of the CompositeConfiguration */
if (configuration != null)
{
for (Iterator i = configuration.getKeys(); i.hasNext();)
{
String key = (String)i.next();
String value = configuration.getString(key);
result.setProperty(key, value);
}
}
return result;
}