List of usage examples for org.springframework.scripting.support StandardScriptEvaluator evaluate
@Override
@Nullable
public Object evaluate(ScriptSource script, @Nullable Map<String, Object> argumentBindings)
From source file:org.arrow.service.DefaultExecutionScriptService.java
/** * {@inheritDoc}// w ww .j a v a 2 s . c o m */ @Override public Object evaluate(ScriptSource source, ScriptEvaluationContext context) { StandardScriptEvaluator scriptEvaluator = new StandardScriptEvaluator(); scriptEvaluator.setLanguage(context.getScriptLanguage()); return scriptEvaluator.evaluate(source, context.getArguments()); }