Package org.camunda.bpm.application.impl
Class ProcessApplicationScriptEnvironment
java.lang.Object
org.camunda.bpm.application.impl.ProcessApplicationScriptEnvironment
- Author:
- Roman Smirnov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,List<ExecutableScript>> protected ProcessApplicationInterfaceprotected ScriptEngineResolver -
Constructor Summary
ConstructorsConstructorDescriptionProcessApplicationScriptEnvironment(ProcessApplicationInterface processApplication) -
Method Summary
Modifier and TypeMethodDescriptionReturns a map of cached environment scripts per script language.protected ClassLoadergetScriptEngineForName(String scriptEngineName, boolean cache) Returns an instance ofScriptEnginefor the givenscriptEngineName.
-
Field Details
-
processApplication
-
processApplicationScriptEngineResolver
-
environmentScripts
-
-
Constructor Details
-
ProcessApplicationScriptEnvironment
-
-
Method Details
-
getScriptEngineForName
Returns an instance of
ScriptEnginefor the givenscriptEngineName.Iff the given parameter
cacheis settrue, then the instanceScriptEnginewill be cached.- Parameters:
scriptEngineName- the name of theScriptEngineto returncache- a boolean value which indicates whether theScriptEngineshould be cached or not.- Returns:
- a
ScriptEngine
-
getEnvironmentScripts
Returns a map of cached environment scripts per script language. -
getProcessApplicationClassloader
-