public class ProcessApplicationScriptEngineResolver extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,ScriptEngine> |
cachedEngines |
protected ScriptEngineManager |
scriptEngineManager |
Constructor and Description |
---|
ProcessApplicationScriptEngineResolver(ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
protected ScriptEngine |
getCachedScriptEngine(String name) |
ScriptEngine |
getScriptEngine(String name,
boolean cache) |
protected boolean |
isCachable(ScriptEngine scriptEngine) |
protected Map<String,ScriptEngine> cachedEngines
protected ScriptEngineManager scriptEngineManager
public ProcessApplicationScriptEngineResolver(ClassLoader classLoader)
public ScriptEngine getScriptEngine(String name, boolean cache)
protected ScriptEngine getCachedScriptEngine(String name)
protected boolean isCachable(ScriptEngine scriptEngine)
Copyright © 2018. All rights reserved.