Class ScriptingEngines

java.lang.Object
org.camunda.bpm.engine.impl.scripting.engine.ScriptingEngines
All Implemented Interfaces:
DmnScriptEngineResolver

public class ScriptingEngines extends Object implements DmnScriptEngineResolver

Manager for JSR-223 ScriptEngine handling.

Resolving a script engine: This class supports resolving a script engine for a given 'language name' (eg. 'groovy'). If the configuration option enableScriptEngineCaching is set to true, the class will attempt to cache 'cachable' script engines. We assume a ScriptEngine is 'cachable' if it declares to be threadsafe (see #isCachable(ScriptEngine))

Custom Bindings: this class supports custom Bindings implementations through the scriptBindingsFactory. See ScriptBindingsFactory.

Author:
Tom Baeyens, Daniel Meyer