Package org.sf.bee.runtime.configuration

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


    private ConfigurationUtils() {
        _tryCount = 0;
    }

    public ConfigItemLdap getLdap() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getLdap()
                : null;
    }
View Full Code Here


                ? config.getLdap()
                : null;
    }

    public String getApplicationPath() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getAppPath()
                : "";
    }
View Full Code Here

    /**
     * Retrieve 'app_url' configuration parameter
     * @return 'app_url' parameter
     */
    public String getApplicationURL() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationURL()
                : "";
    }
View Full Code Here

    /**
     * Retrieve 'app_name' configuration parameter
     * @return 'app_name' parameter
     */
    public String getApplicationName() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationName()
                : "";
    }
View Full Code Here

                ? config.getApplicationName()
                : "";
    }

    public String getApplicationTitle() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationTitle()
                : "";
    }
View Full Code Here

                ? config.getApplicationTitle()
                : "";
    }

    public String getApplicationAdminEmail() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationAdminEmail()
                : "";
    }
View Full Code Here

                ? config.getApplicationAdminEmail()
                : "";
    }

    public String getApplicationSecureToken() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationSecureToken()
                : ApplicationSecurity.DEF_TOKEN;
    }
View Full Code Here

    /**
     * Returns default Application language.
     * @return Default language for current application.
     */
    public String getApplicationLangCode() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationLangCode()
                : LocaleUtils.DEFAULT.toString();
    }
View Full Code Here

    /**
     * Returns default Application language.
     * @return Default language for current application.
     */
    public Locale getApplicationLocale() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getApplicationLocale()
                : LocaleUtils.DEFAULT;
    }
View Full Code Here

                ? config.getApplicationLocale()
                : LocaleUtils.DEFAULT;
    }

    public String getSmtReplyTo() {
        final AbstractRuntimeConfiguration config = getRuntimeConfig();
        return null != config
                ? config.getSmtpReplyTo()
                : "";
    }
View Full Code Here

TOP

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

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.