Class NashornScriptEngine

java.lang.Object
javax.script.AbstractScriptEngine
org.openjdk.nashorn.api.scripting.NashornScriptEngine
All Implemented Interfaces:
Compilable, Invocable, ScriptEngine

public final class NashornScriptEngine extends AbstractScriptEngine implements Compilable, Invocable
JSR-223 compliant script engine for Nashorn. Instances are not created directly, but rather returned through NashornScriptEngineFactory.getScriptEngine(). Note that this engine implements the Compilable and Invocable interfaces, allowing for efficient precompilation and repeated execution of scripts.
Since:
1.8u40
See Also: