public class DefaultScriptEngineResolver extends Object implements DmnScriptEngineResolver
Modifier and Type | Field and Description |
---|---|
protected Map<String,ScriptEngine> |
scriptEngineCache |
protected ScriptEngineManager |
scriptEngineManager |
Constructor and Description |
---|
DefaultScriptEngineResolver() |
DefaultScriptEngineResolver(ScriptEngineManager scriptEngineManager) |
Modifier and Type | Method and Description |
---|---|
ScriptEngine |
getScriptEngineForLanguage(String language)
Get a script engine by script engine language.
|
protected Map<String,ScriptEngine> scriptEngineCache
protected ScriptEngineManager scriptEngineManager
public DefaultScriptEngineResolver(ScriptEngineManager scriptEngineManager)
public DefaultScriptEngineResolver()
public ScriptEngine getScriptEngineForLanguage(String language)
DmnScriptEngineResolver
getScriptEngineForLanguage
in interface DmnScriptEngineResolver
language
- the language of the script engineCopyright © 2018. All rights reserved.