Package com.springsource.bundlor.support.properties

Examples of com.springsource.bundlor.support.properties.SystemPropertiesSource


public class StandardPropertiesSourceFactory implements PropertiesSourceFactory {

    public List<PropertiesSource> create(String propertiesPath, List<PropertySet> propertySets, List<Property> properties) {
        List<PropertiesSource> propertySources = new ArrayList<PropertiesSource>();

        propertySources.add(new SystemPropertiesSource());
        propertySources.add(new PropertySetPropertiesSource(propertySets));
        propertySources.add(new PropertyPropertiesSource(properties));

        if (StringUtils.hasText(propertiesPath)) {
            propertySources.add(new FileSystemPropertiesSource(new File(propertiesPath)));
View Full Code Here

TOP

Related Classes of com.springsource.bundlor.support.properties.SystemPropertiesSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.