![JAR search and dependency download from the Maven repository](/logo.png)
apollo.spring.config.ConfigPropertySourceFactory Maven / Gradle / Ivy
The newest version!
package apollo.spring.config;
import apollo.Config;
import com.google.common.collect.Lists;
import java.util.List;
public class ConfigPropertySourceFactory {
private final List configPropertySources = Lists.newLinkedList();
public ConfigPropertySource getConfigPropertySource(String name, Config source) {
ConfigPropertySource configPropertySource = new ConfigPropertySource(name, source);
configPropertySources.add(configPropertySource);
return configPropertySource;
}
public List getAllConfigPropertySources() {
return Lists.newLinkedList(configPropertySources);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy