Package com.crashnote.core.config.helper

Examples of com.crashnote.core.config.helper.Config


    @Override
    protected Config readConf() {

        // create dynamic config file .. (ONLY enable client if running on AppEngine, local requests can just be passed through then)
        final String enabled = new AppengineUtil().isRunningOnAppengine() ? "true" : "false";
        final Config appengineConf = getConfStr("crashnote { enabled = " + enabled + ", request { ignore-localhost = false } }");

        // .. and add it to the application conf
        return super.readConf()
                .withFallback(appengineConf);
    }
View Full Code Here

TOP

Related Classes of com.crashnote.core.config.helper.Config

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.