# 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.

## Uses of ScriptEngine in javax.script

Classes in javax.script that implement ScriptEngine
Modifier and Type
Class
Description
`class`
`AbstractScriptEngine`
Provides a standard implementation for several of the variants of the `eval` method.
Methods in javax.script that return ScriptEngine
Modifier and Type
Method
Description
`abstract ScriptEngine`
CompiledScript.`getEngine()`
Returns the `ScriptEngine` whose `compile` method created this `CompiledScript`.
`ScriptEngine`
ScriptEngineManager.`getEngineByExtension(String extension)`
Look up and create a `ScriptEngine` for a given extension.
`ScriptEngine`
ScriptEngineManager.`getEngineByMimeType(String mimeType)`
Look up and create a `ScriptEngine` for a given mime type.
`ScriptEngine`
ScriptEngineManager.`getEngineByName(String shortName)`
Looks up and creates a `ScriptEngine` for a given name.
`ScriptEngine`
ScriptEngineFactory.`getScriptEngine()`
Returns an instance of the `ScriptEngine` associated with this `ScriptEngineFactory`.