org.neo4j.server.scripting.javascript
Class JavascriptExecutor.Factory

java.lang.Object
  extended by org.neo4j.server.scripting.javascript.JavascriptExecutor.Factory
All Implemented Interfaces:
ScriptExecutor.Factory
Enclosing class:
JavascriptExecutor

public static class JavascriptExecutor.Factory
extends Object
implements ScriptExecutor.Factory


Constructor Summary
JavascriptExecutor.Factory(boolean enableSandboxing)
          Note that you can set sandbox/no sandbox once, after that it is globally defined for the JVM.
 
Method Summary
 ScriptExecutor createExecutorForScript(String script)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptExecutor.Factory

public JavascriptExecutor.Factory(boolean enableSandboxing)
Note that you can set sandbox/no sandbox once, after that it is globally defined for the JVM. If you create a new factory with a different sandboxing setting, an exception will be thrown.

Parameters:
enableSandboxing -
Method Detail

createExecutorForScript

public ScriptExecutor createExecutorForScript(String script)
                                       throws EvaluationException
Specified by:
createExecutorForScript in interface ScriptExecutor.Factory
Throws:
EvaluationException


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.