aResourceMetaData.validateConfigurationParameterSettings();
// Iterate through all declared parameters, calling abstract method to allow
// concrete ConfigurationManager implementations to set up data structures to
// provide access to the parameter values
ConfigurationParameterDeclarations paramDecls = aResourceMetaData
.getConfigurationParameterDeclarations();
ConfigurationParameterSettings settings = aResourceMetaData.getConfigurationParameterSettings();
// parameters in no group
ConfigurationParameter[] paramsInNoGroup = paramDecls.getConfigurationParameters();
if (paramsInNoGroup.length > 0) // group-less parameters
{
declareParameters(null, paramsInNoGroup, settings, aContextName, externalOverrides);
}
// parameter groups
ConfigurationGroup[] groups = paramDecls.getConfigurationGroups();
if (groups != null) {
for (int i = 0; i < groups.length; i++) {
String[] names = groups[i].getNames();
{
for (int j = 0; j < names.length; j++) {
// common params
ConfigurationParameter[] commonParams = paramDecls.getCommonParameters();
if (commonParams != null) {
declareParameters(names[j], commonParams, settings, aContextName, externalOverrides);
}
// params in group
ConfigurationParameter[] params = groups[i].getConfigurationParameters();