Class ScriptingEnvironment

java.lang.Object
org.camunda.bpm.engine.impl.scripting.env.ScriptingEnvironment

public class ScriptingEnvironment extends Object

The scripting environment contains scripts that provide an environment to a user provided script. The environment may contain additional libraries or imports.

The environment performs lazy initialization of scripts: the first time a script of a given script language is executed, the environment will use the ScriptEnvResolvers for resolving the environment scripts for that language. The scripts (if any) are then pre-compiled and cached for reuse.

Author:
Daniel Meyer