org.mule.tools.rhinodo.impl
Class JavascriptRunner

java.lang.Object
  extended by org.mule.tools.rhinodo.impl.JavascriptRunner

public class JavascriptRunner
extends Object


Constructor Summary
JavascriptRunner(NodeModuleFactoryImpl nodeModuleFactory, Runnable runnable, String destDir)
           
 
Method Summary
 org.mozilla.javascript.Scriptable getConsole()
           
static URI getURIFromResources(Class<?> klass, String path)
           
 void run()
           
static JavascriptRunner withConsoleFactory(ConsoleFactory consoleFactory, NodeModuleFactoryImpl nodeModuleFactory, Runnable runnable, String destDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptRunner

public JavascriptRunner(NodeModuleFactoryImpl nodeModuleFactory,
                        Runnable runnable,
                        String destDir)
Method Detail

getConsole

public org.mozilla.javascript.Scriptable getConsole()

withConsoleFactory

public static JavascriptRunner withConsoleFactory(ConsoleFactory consoleFactory,
                                                  NodeModuleFactoryImpl nodeModuleFactory,
                                                  Runnable runnable,
                                                  String destDir)

run

public void run()

getURIFromResources

public static URI getURIFromResources(Class<?> klass,
                                      String path)


Copyright © 2012. All Rights Reserved.