public class DefaultScriptExecutor extends AbstractScriptExecutor
ScriptExecutorlanguage, logger, scriptEngine| Constructor and Description |
|---|
DefaultScriptExecutor(String language)
Create a DefaultScriptExecutor for the specified language name (JSR233 alias).
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
postProcess(Object result,
ScriptEngine scriptEngine,
String script,
Bindings bindings)
Subclasses may implement this to provide any special handling required
|
executeScriptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteScriptpublic DefaultScriptExecutor(String language)
language - the scripting language identificator.protected Object postProcess(Object result, ScriptEngine scriptEngine, String script, Bindings bindings)
AbstractScriptExecutorpostProcess in class AbstractScriptExecutorresult - the result.scriptEngine - the engine.script - the script.bindings - the bindings.