public class DefaultScriptExecutor extends AbstractScriptExecutor
ScriptExecutorlanguage, logger, scriptEngine| Constructor and Description |
|---|
DefaultScriptExecutor(java.lang.String language)
Create a DefaultScriptExecutor for the specified language name (JSR233 alias).
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
postProcess(java.lang.Object result,
javax.script.ScriptEngine scriptEngine,
java.lang.String script,
javax.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(java.lang.String language)
language - the scripting language identificator.protected java.lang.Object postProcess(java.lang.Object result,
javax.script.ScriptEngine scriptEngine,
java.lang.String script,
javax.script.Bindings bindings)
AbstractScriptExecutorpostProcess in class AbstractScriptExecutorresult - the result.scriptEngine - the engine.script - the script.bindings - the bindings.