use of org.onebusaway.presentation.services.configuration.ConfigurationSource in project onebusaway-application-modules by camsys.
the class ConfigurationServiceImpl method getConfiguration.
@Override
@Cacheable
public Map<String, Object> getConfiguration(@CacheableArgument(cacheRefreshIndicator = true) boolean forceRefresh, String contextPath) {
Map<String, Object> config = new HashMap<String, Object>();
for (ConfigurationSource source : _sources) {
Map<String, Object> sourceConfig = source.getConfiguration(contextPath);
config.putAll(sourceConfig);
}
return config;
}
Aggregations