Package org.grails.config

Examples of org.grails.config.PropertySourcesConfig.merge()


        org.springframework.core.env.Environment environment = applicationContext.getEnvironment();
        if(environment instanceof ConfigurableEnvironment) {
            MutablePropertySources propertySources = ((ConfigurableEnvironment) environment).getPropertySources();
            PropertySourcesConfig newConfig = new PropertySourcesConfig(propertySources);
            if(this.config != null) {
                newConfig.merge(this.config);
            }
            this.config = newConfig;
        }
        this.parentContext = applicationContext;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.