Java javax.script ScriptEngineManager fields, constructors, methods, implement or subclass

Example usage for Java javax.script ScriptEngineManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.script ScriptEngineManager.

The text is from its open source code.

Subclass

javax.script.ScriptEngineManager has subclasses.
Click this link to see all its subclasses.

Constructor

ScriptEngineManager()
The effect of calling this constructor is the same as calling ScriptEngineManager(Thread.currentThread().getContextClassLoader()).
ScriptEngineManager(ClassLoader loader)
This constructor loads the implementations of ScriptEngineFactory visible to the given ClassLoader using the service provider mechanism.

If loader is null, the script engine factories that are bundled with the platform are loaded.

Method

BindingsgetBindings()
getBindings returns the value of the globalScope field.
ScriptEnginegetEngineByExtension(String extension)
Look up and create a ScriptEngine for a given extension.
ScriptEnginegetEngineByMimeType(String mimeType)
Look up and create a ScriptEngine for a given mime type.
ScriptEnginegetEngineByName(String shortName)
Looks up and creates a ScriptEngine for a given name.
ListgetEngineFactories()
Returns a list whose elements are instances of all the ScriptEngineFactory classes found by the discovery mechanism.
voidput(String key, Object value)
Sets the specified key/value pair in the Global Scope.
voidregisterEngineExtension(String extension, ScriptEngineFactory factory)
Registers a ScriptEngineFactory to handle an extension.