public final class Scripts extends Object
Modifier and Type | Method and Description |
---|---|
static ScriptEngineManager |
createManager(ClassLoader contextClassLoader)
Create a new script engine manager
|
public static ScriptEngineManager createManager(ClassLoader contextClassLoader)
Note: The context class loader will be set during the creation
of the script engine. However the constructor
ScriptEngineManager.ScriptEngineManager()
will still be used in
order to look up the default script languages of the JRE.
contextClassLoader
- the context class loader to useScriptEngineManager