javax.script (Java SE 24 & JDK 24)
-
Provides a standard implementation for several of the variants of the
evalmethod.A mapping of key/value pairs, all of whose keys are
Strings.The optional interface implemented by ScriptEngines whose methods compile scripts to a form that can be executed repeatedly without recompilation.
Extended by classes that store results of compilations.
The optional interface implemented by ScriptEngines whose methods allow the invocation of procedures in scripts that have previously been executed.
The interface whose implementing classes are used to connect Script Engines with objects, such as scoped Bindings, in hosting applications.
ScriptEngineis the fundamental interface whose methods must be fully functional in every implementation of this specification.ScriptEngineFactoryis used to describe and instantiateScriptEngines.The
ScriptEngineManagerimplements a discovery and instantiation mechanism forScriptEngineclasses and also maintains a collection of key/value pairs storing state shared by all engines created by the Manager.The generic
Exceptionclass for the Scripting APIs.A simple implementation of Bindings backed by a
HashMapor some other specifiedMap.Simple implementation of ScriptContext.