Uses of Interface
javax.script.ScriptEngineFactory
Package
Description
The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
-
Uses of ScriptEngineFactory in javax.script
Modifier and TypeMethodDescriptionScriptEngine.getFactory()
Returns aScriptEngineFactory
for the class to which thisScriptEngine
belongs.Modifier and TypeMethodDescriptionScriptEngineManager.getEngineFactories()
Returns a list whose elements are instances of all theScriptEngineFactory
classes found by the discovery mechanism.Modifier and TypeMethodDescriptionvoid
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.