Examples of TorqueBoxRubyInstanceConfig


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
Copyright © 2018 www.massapi.com. 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.