log.trace("Trying to load configuration points at {}", configurationPointsLocation);
try {
mappings = PropertiesLoaderUtils.loadAllProperties(configurationPointsLocation, settings.classLoader);
} catch (IOException e) {
throw new ConfigurationPointException("Unable to load Configuration Points from "
+ configurationPointsLocation, e);
}
for (Entry<Object, Object> entry : mappings.entrySet()) {
String name = normalizeConfigurationPointName((String) entry.getKey());
Map<String, String> params = parseNamespaceUriAndParams((String) entry.getValue());
String namespaceUri = assertNotNull(params.get(NAMESPACE_URI_KEY), "namespaceUri");
if (!namespaceUri.endsWith(name)) {
throw new ConfigurationPointException("Naming Convention Violation: namespace URI [" + namespaceUri
+ "] of configuration point should end with its name [" + name
+ "]. This configuration point is located at " + configurationPointsLocation + ".");
}
String defaultElementName = params.get(DEFAULT_ELEMENT_KEY);