ScriptEngineManager
Class ScriptEngineManager
- java.lang.Object
-
- javax.script.ScriptEngineManager
public class ScriptEngineManager extends Object
The ScriptEngineManager
implements a discovery and instantiation mechanism for ScriptEngine
classes and also maintains a collection of key/value pairs storing state shared by all engines created by the Manager. This class uses the service provider mechanism to enumerate all the implementations of ScriptEngineFactory
.
The ScriptEngineManager
provides a method to return a list of all these factories as well as utility methods which look up factories on the basis of language name, file extension and mime type.
The Bindings
of key/value pairs, referred to as the "Global Scop