Package com.volantis.mcs.runtime.configuration

Examples of com.volantis.mcs.runtime.configuration.ProtocolsConfiguration


    }

    // Javadoc inherited
    public ProtocolsConfiguration getProtocolsConfiguration() {
        if (protocolsConfiguration == null) {
            protocolsConfiguration = new ProtocolsConfiguration();
            protocolsConfiguration.setPreferredOutputFormat(
                WMLOutputPreference.WMLC);
        }
        return protocolsConfiguration;
    }
View Full Code Here


     */
    public ProtocolsConfiguration getProtocolsConfiguration() {
        if (protocolsConfiguration == null) {
            protocolsConfiguration = marinerConfig.getProtocols();
            if (protocolsConfiguration == null) {
                protocolsConfiguration = new ProtocolsConfiguration();
                protocolsConfiguration.setPreferredOutputFormat(
                        WMLOutputPreference.WMLC);
            }
        }
        return protocolsConfiguration;
View Full Code Here

        } else {
            // Decide if we will generate binary WMLC from the headers
            willGenerateWMLC = appContext.isWMLCSupported();
            // If we want to do WMLC but the config says do WML, then do WML
            if (willGenerateWMLC) {
                ProtocolsConfiguration protocols =
                        context.getVolantisBean().getProtocolsConfiguration();

                if (protocols.getPreferredOutputFormat() ==
                        WMLOutputPreference.WML) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Device supports WMLC but disabling " +
                                "due to wml configuration setting.");
                    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.configuration.ProtocolsConfiguration

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.