org.camunda.bpm.application.impl
Class ProcessApplicationScriptEnvironment
java.lang.Object
org.camunda.bpm.application.impl.ProcessApplicationScriptEnvironment
public class ProcessApplicationScriptEnvironment
- extends Object
- Author:
- Roman Smirnov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processApplication
protected ProcessApplicationInterface processApplication
processApplicationScriptEngineResolver
protected ScriptEngineResolver processApplicationScriptEngineResolver
environmentScripts
protected Map<String,List<ExecutableScript>> environmentScripts
ProcessApplicationScriptEnvironment
public ProcessApplicationScriptEnvironment(ProcessApplicationInterface processApplication)
getScriptEngineForName
public ScriptEngine getScriptEngineForName(String scriptEngineName,
boolean cache)
Returns an instance of ScriptEngine for the given scriptEngineName.
Iff the given parameter cache is set true,
then the instance ScriptEngine will be cached.
- Parameters:
scriptEngineName - the name of the ScriptEngine to returncache - a boolean value which indicates whether the ScriptEngine should
be cached or not.
- Returns:
- a
ScriptEngine
getEnvironmentScripts
public Map<String,List<ExecutableScript>> getEnvironmentScripts()
- Returns a map of cached environment scripts per script language.
getProcessApplicationClassloader
protected ClassLoader getProcessApplicationClassloader()
Copyright © 2015 camunda services GmbH. All rights reserved.