@Deprecated(since="11", forRemoval=true) public final class NashornScriptEngine extends AbstractScriptEngine implements Compilable, Invocable
Deprecated, for removal: This API element is subject to removal in a future version.
JSR-223 compliant script engine for Nashorn. Instances are not created directly, but rather returned through
ScriptEngineFactory.getScriptEngine(). Note that this engine implements the
Invocableinterfaces, allowing for efficient precompilation and repeated execution of scripts.
- See Also:
Fields Modifier and Type Field Description
NASHORN_GLOBALDeprecated, for removal: This API element is subject to removal in a future version.Key used to associate Nashorn global object mirror with arbitrary Bindings instance.
Methods declared in class javax.script.AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface javax.script.Invocable
getInterface, getInterface, invokeFunction, invokeMethod