Uses of Interface javax.script.ScriptEngineFactory (Java Platform SE 8 )
Date: 2026-04-17

## 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 TM Scripting Engines and provides a framework for their use in Java applications.

- - ### Uses of ScriptEngineFactory in javax.script

    Methods in javax.script that return ScriptEngineFactory
    Modifier and Type | Method and Description
    --- | ---
    `ScriptEngineFactory` | ScriptEngine.`getFactory()` Returns a `ScriptEngineFactory` for the class to which this `ScriptEngine` belongs.

    Methods in javax.script that return types with arguments of type ScriptEngineFactory
    Modifier and Type | Method and Description
    --- | ---
    `List<ScriptEngineFactory>` | ScriptEngineManager.`getEngineFactories()` Returns a list whose elements are instances of all the `ScriptEngineFactory` classes found by the discovery mechanism.

    Methods in javax.script with parameters of type ScriptEngineFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ScriptEngineManager.`registerEngineExtension(String extension, ScriptEngineFactory factory)` Registers a `ScriptEngineFactory` to handle an extension.
    `void` | ScriptEngineManager.`registerEngineMimeType(String type, ScriptEngineFactory factory)` Registers a `ScriptEngineFactory` to handle a mime type.
    `void` | ScriptEngineManager.`registerEngineName(String name, ScriptEngineFactory factory)` Registers a `ScriptEngineFactory` to handle a language name.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.