Package org.torquebox.core.runtime

Examples of org.torquebox.core.runtime.TorqueBoxRubyInstanceConfig


    /** {@inheritDoc} */
    public StdioContext getStdioContext() {
        Ruby runtime = RuntimeContext.getCurrentRuntime();
        if (runtime != null && runtime.getInstanceConfig() instanceof TorqueBoxRubyInstanceConfig) {
            TorqueBoxRubyInstanceConfig config = (TorqueBoxRubyInstanceConfig) runtime.getInstanceConfig();
            if (config.isInteractive()) {
                return debugContext;
            }
        }
        return defaultContext;
    }
View Full Code Here

TOP

Related Classes of org.torquebox.core.runtime.TorqueBoxRubyInstanceConfig

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.