Package org.mule.tools.rhinodo.node.vm

Examples of org.mule.tools.rhinodo.node.vm.VmNativeModule


    private void loadNativeModules(Scriptable env, Context cx, Scriptable globalScope,
                                   Queue<Function> asyncCallbacksQueue) {
        NativeModule[] nativeModules = {new FsNativeModule(asyncCallbacksQueue),
                new ProcessNativeModule(env, asyncCallbacksQueue, exitCallbackExecutor),
                new ChildProcessNativeModule(asyncCallbacksQueue),
                new VmNativeModule(asyncCallbacksQueue)};
        nativeModuleMap = new HashMap<String, Scriptable>();

        for (NativeModule nativeModule : nativeModules) {
            nativeModuleMap.put(nativeModule.getId(), nativeModule.getModule(cx, globalScope));
        }
View Full Code Here

TOP

Related Classes of org.mule.tools.rhinodo.node.vm.VmNativeModule

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.