Package org.sf.bee.runtime.configuration

Examples of org.sf.bee.runtime.configuration.RuntimeConfigFile


*/
public class ConfigurationFileUtils {

    public final List<ConfigItemSysParameter> getConfigParams(final String xml)
            throws MismatchConfigurationException {
        final RuntimeConfigFile configFile = new RuntimeConfigFile();
        configFile.loadFromText(xml);
        return this.getConfigParams(configFile);
    }
View Full Code Here


                super.getApplication().getAppPath(), RuntimeConfigFile.FILE_NAME);
        final BeeResource resConfig = this.getResource(beeingFileName);
        if (!resConfig.exists()) {
            return null;
        }
        final RuntimeConfigFile file = super.createConfigurationFile(resConfig.getUrl());
        final AbstractRuntimeConfiguration config = new BeeAppRuntimeConfigController(
                super.getApplication().getAppPath(), file);

        return config;
    }
View Full Code Here

    }

    protected final RuntimeConfigFile createConfigurationFile(final String path)
            throws MismatchConfigurationException {
        final String fileName = this.checkConfigurationFileName(path);
        final RuntimeConfigFile result = new RuntimeConfigFile();
        result.loadFromFile(this.getAbsoluteName(fileName));
        return result;
    }
View Full Code Here

TOP

Related Classes of org.sf.bee.runtime.configuration.RuntimeConfigFile

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.