spring-framework / org.springframework.scripting.support / StandardScriptEvaluator / setGlobalBindings

setGlobalBindings

open fun setGlobalBindings(globalBindings: MutableMap<String, Any>): Unit

Set the globally scoped bindings on the underlying script engine manager, shared by all scripts, as an alternative to script argument bindings.

Since
4.2.2

See Also
#evaluate(ScriptSource, Map)javax.script.ScriptEngineManager#setBindings(Bindings)javax.script.SimpleBindings