org.neo4j.server.scripting.javascript
Class JavascriptExecutor.Factory
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 -
createExecutorForScript
public ScriptExecutor createExecutorForScript(String script)
throws EvaluationException
- Specified by:
createExecutorForScript in interface ScriptExecutor.Factory
- Throws:
EvaluationException
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.