| Package | Description | 
|---|---|
| javax.script | The scripting API consists of interfaces and classes that define
Java TM Scripting Engines and provides
a framework for their use in Java applications. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | AbstractScriptEngineProvides a standard implementation for several of the variants of the  evalmethod. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| abstract ScriptEngine | CompiledScript. getEngine()Returns the  ScriptEnginewhosecompilemethod created thisCompiledScript. | |
| ScriptEngine | ScriptEngineManager. getEngineByExtension(String extension)Look up and create a  ScriptEnginefor a given extension. | |
| ScriptEngine | ScriptEngineManager. getEngineByMimeType(String mimeType)Look up and create a  ScriptEnginefor a given mime type. | |
| ScriptEngine | ScriptEngineManager. getEngineByName(String shortName)Looks up and creates a  ScriptEnginefor a given  name. | |
| ScriptEngine | ScriptEngineFactory. getScriptEngine()Returns an instance of the  ScriptEngineassociated with thisScriptEngineFactory. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.