Package org.camunda.bpm.application.impl
Class ProcessApplicationScriptEnvironment
java.lang.Object
org.camunda.bpm.application.impl.ProcessApplicationScriptEnvironment
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<String,
List<ExecutableScript>> protected ProcessApplicationInterface
protected ScriptEngineResolver
-
Constructor Summary
ConstructorDescriptionProcessApplicationScriptEnvironment
(ProcessApplicationInterface processApplication) -
Method Summary
Modifier and TypeMethodDescriptionReturns a map of cached environment scripts per script language.protected ClassLoader
getScriptEngineForName
(String scriptEngineName, boolean cache) Returns an instance ofScriptEngine
for the givenscriptEngineName
.
-
Field Details
-
processApplication
-
processApplicationScriptEngineResolver
-
environmentScripts
-
-
Constructor Details
-
ProcessApplicationScriptEnvironment
-
-
Method Details
-
getScriptEngineForName
Returns an instance of
ScriptEngine
for the givenscriptEngineName
.Iff the given parameter
cache
is settrue
, then the instanceScriptEngine
will be cached.- Parameters:
scriptEngineName
- the name of theScriptEngine
to returncache
- a boolean value which indicates whether theScriptEngine
should be cached or not.- Returns:
- a
ScriptEngine
-
getEnvironmentScripts
Returns a map of cached environment scripts per script language. -
getProcessApplicationClassloader
-