addNamedLocations(configSettings, propertySource, CoreBootstrapProperties.EXTRA_LOCATIONS);
}
private boolean addNamedLocations(ConfigurationSettings configSettings,
PropertySource propertySource, final String propertyName) {
StringPropertyValue allLocations = new StringPropertyValue(propertySource, propertyName, null);
configSettings.addProperty(propertyName, allLocations);
final String allLocationsValue = allLocations.getValue();
if (allLocationsValue != null) {
final String[] allLocationsArray = StringUtils.tokenizeToStringArray(allLocationsValue, " ,");
final String[] fullNamesArray = getFullNames(allLocationsArray);
for (String location : fullNamesArray) {
configSettings.add(location);