- java.lang.Object
- 
- javax.script.AbstractScriptEngine
- 
- jdk.nashorn.api.scripting.NashornScriptEngine
 
 
- 
- All Implemented Interfaces:
- Compilable,- Invocable,- ScriptEngine
 
 @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.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.JSR-223 compliant script engine for Nashorn. Instances are not created directly, but rather returned throughScriptEngineFactory.getScriptEngine(). Note that this engine implements theCompilableandInvocableinterfaces, allowing for efficient precompilation and repeated execution of scripts.- Since:
- 1.8u40
- See Also:
- NashornScriptEngineFactory
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringNASHORN_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.- 
Fields declared in class javax.script.AbstractScriptEnginecontext
 - 
Fields declared in interface javax.script.ScriptEngineARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
 
- 
 - 
Method Summary- 
Methods declared in class javax.script.AbstractScriptEngineeval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
 - 
Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods declared in interface javax.script.Compilablecompile, compile
 - 
Methods declared in interface javax.script.InvocablegetInterface, getInterface, invokeFunction, invokeMethod
 - 
Methods declared in interface javax.script.ScriptEnginecreateBindings, eval, eval, getFactory
 
- 
 
- 
- 
- 
Field Detail- 
NASHORN_GLOBALpublic static final String NASHORN_GLOBAL Deprecated, 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.- See Also:
- Constant Field Values
 
 
- 
 
-