public class ScriptingEngines extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SCRIPTING_LANGUAGE |
protected ScriptBindingsFactory |
scriptBindingsFactory |
Constructor and Description |
---|
ScriptingEngines(ScriptBindingsFactory scriptBindingsFactory) |
ScriptingEngines(ScriptEngineManager scriptEngineManager) |
Modifier and Type | Method and Description |
---|---|
ScriptingEngines |
addScriptEngineFactory(ScriptEngineFactory scriptEngineFactory) |
protected Bindings |
createBindings(VariableScope variableScope)
override to build a spring aware ScriptingEngines
|
Object |
evaluate(String script,
String language,
VariableScope variableScope) |
ScriptBindingsFactory |
getScriptBindingsFactory() |
void |
setScriptBindingsFactory(ScriptBindingsFactory scriptBindingsFactory) |
void |
setScriptEngineFactories(List<ScriptEngineFactory> scriptEngineFactories) |
public static final String DEFAULT_SCRIPTING_LANGUAGE
protected ScriptBindingsFactory scriptBindingsFactory
public ScriptingEngines(ScriptBindingsFactory scriptBindingsFactory)
public ScriptingEngines(ScriptEngineManager scriptEngineManager)
public ScriptingEngines addScriptEngineFactory(ScriptEngineFactory scriptEngineFactory)
public void setScriptEngineFactories(List<ScriptEngineFactory> scriptEngineFactories)
public Object evaluate(String script, String language, VariableScope variableScope)
protected Bindings createBindings(VariableScope variableScope)
public ScriptBindingsFactory getScriptBindingsFactory()
public void setScriptBindingsFactory(ScriptBindingsFactory scriptBindingsFactory)
Copyright © 2015. All rights reserved.