Uses of Interface
javax.script.ScriptEngineFactory
-
Packages that use ScriptEngineFactory 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.script
integration, which is the preferred way to use Nashorn. -
-
Uses of ScriptEngineFactory in javax.script
Methods in javax.script that return ScriptEngineFactory Modifier and Type Method Description ScriptEngineFactory
ScriptEngine. getFactory()
Returns aScriptEngineFactory
for the class to which thisScriptEngine
belongs.Methods in javax.script that return types with arguments of type ScriptEngineFactory Modifier and Type Method Description List<ScriptEngineFactory>
ScriptEngineManager. getEngineFactories()
Returns a list whose elements are instances of all theScriptEngineFactory
classes found by the discovery mechanism.Methods in javax.script with parameters of type ScriptEngineFactory Modifier and Type Method Description void
ScriptEngineManager. registerEngineExtension(String extension, ScriptEngineFactory factory)
Registers aScriptEngineFactory
to handle an extension.void
ScriptEngineManager. registerEngineMimeType(String type, ScriptEngineFactory factory)
Registers aScriptEngineFactory
to handle a mime type.void
ScriptEngineManager. registerEngineName(String name, ScriptEngineFactory factory)
Registers aScriptEngineFactory
to handle a language name. -
Uses of ScriptEngineFactory in jdk.nashorn.api.scripting
Classes in jdk.nashorn.api.scripting that implement ScriptEngineFactory Modifier and Type Class Description class
NashornScriptEngineFactory
JSR-223 compliant script engine factory for Nashorn.Methods in jdk.nashorn.api.scripting that return ScriptEngineFactory Modifier and Type Method Description ScriptEngineFactory
NashornScriptEngine. getFactory()
-