Package org.switchyard.component.clojure.config.model

Examples of org.switchyard.component.clojure.config.model.ClojureScriptModel


     * Loads the Clojure script.
     */
    @Override
    protected void doStart() {
        try {
            final ClojureScriptModel scriptModel = _implModel.getScriptModel();
            _var = scriptModel != null
                    ? (Var) clojure.lang.Compiler.load(new StringReader(scriptModel.getScript()))
                    : (Var) clojure.lang.Compiler.load(loadInputStream(_implModel.getScriptFile()));
        } catch (final Exception e) {
            throw new SwitchYardException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.switchyard.component.clojure.config.model.ClojureScriptModel

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.