Uses of Interface
javax.script.ScriptEngine
-
Packages that use ScriptEngine Package Description javax.script The scripting API consists of interfaces and classes that define Java™ Scripting Engines and provides a framework for their use in Java applications.jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn. -
-
Uses of ScriptEngine in javax.script
Classes in javax.script that implement ScriptEngine Modifier and Type Class Description classAbstractScriptEngineProvides a standard implementation for several of the variants of theevalmethod.Methods in javax.script that return ScriptEngine Modifier and Type Method Description abstract ScriptEngineCompiledScript. getEngine()Returns theScriptEnginewhosecompilemethod created thisCompiledScript.ScriptEngineScriptEngineManager. getEngineByExtension(String extension)Look up and create aScriptEnginefor a given extension.ScriptEngineScriptEngineManager. getEngineByMimeType(String mimeType)Look up and create aScriptEnginefor a given mime type.ScriptEngineScriptEngineManager. getEngineByName(String shortName)Looks up and creates aScriptEnginefor a given name.ScriptEngineScriptEngineFactory. getScriptEngine()Returns an instance of theScriptEngineassociated with thisScriptEngineFactory. -
Uses of ScriptEngine in jdk.nashorn.api.scripting
Classes in jdk.nashorn.api.scripting that implement ScriptEngine Modifier and Type Class Description classNashornScriptEngineDeprecated, 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.Methods in jdk.nashorn.api.scripting that return ScriptEngine Modifier and Type Method Description ScriptEngineNashornScriptEngineFactory. getScriptEngine(ClassLoader appLoader)Deprecated, for removal: This API element is subject to removal in a future version.Create a new Script engine initialized with the given class loader.ScriptEngineNashornScriptEngineFactory. getScriptEngine(String... args)Deprecated, for removal: This API element is subject to removal in a future version.Create a new Script engine initialized with the given arguments.ScriptEngineNashornScriptEngineFactory. getScriptEngine(String[] args, ClassLoader appLoader)Deprecated, for removal: This API element is subject to removal in a future version.Create a new Script engine initialized with the given arguments and the given class loader.ScriptEngineNashornScriptEngineFactory. getScriptEngine(String[] args, ClassLoader appLoader, ClassFilter classFilter)Deprecated, for removal: This API element is subject to removal in a future version.Create a new Script engine initialized with the given arguments, class loader and class filter.ScriptEngineNashornScriptEngineFactory. getScriptEngine(ClassFilter classFilter)Deprecated, for removal: This API element is subject to removal in a future version.Create a new Script engine initialized with the given class filter.
-