クラス AbstractScriptExecutor
java.lang.ObjectSE
org.springframework.integration.scripting.jsr223.AbstractScriptExecutor
- 実装されているすべてのインターフェース:
ScriptExecutor
- 既知の直属サブクラス
DefaultScriptExecutor
ScriptExecutor の基本クラス。- 導入:
- 2.1
- 作成者:
- David Turanski, Mark Fisher, Artem Bilan, Gary Russell, Ngoc Nhan
フィールドのサマリー
フィールドコンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedAbstractScriptExecutor(StringSE language) protectedAbstractScriptExecutor(ScriptEngineSE scriptEngine) メソッドのサマリー
修飾子と型メソッド説明@Nullable ObjectSEexecuteScript(ScriptSource scriptSource, @Nullable MapSE<StringSE, ObjectSE> variables) オプションのバインディングvariablesを使用して、提供されたScriptSourceからスクリプトを実行します。protected abstract ObjectSEpostProcess(ObjectSE result, ScriptEngineSE scriptEngine, StringSE script, @Nullable BindingsSE bindings) サブクラスはこれを実装して、必要な特別な処理を提供できます。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.integration.scripting.ScriptExecutor から継承されたメソッド
executeScript
フィールドの詳細
logger
protected final org.apache.commons.logging.Log logger
コンストラクターの詳細
AbstractScriptExecutor
AbstractScriptExecutor
メソッドの詳細
getScriptEngine
executeScript
public @Nullable ObjectSE executeScript(ScriptSource scriptSource, @Nullable MapSE<StringSE, ObjectSE> variables) インターフェースからコピーされた説明:ScriptExecutorオプションのバインディングvariablesを使用して、提供されたScriptSourceからスクリプトを実行します。- 次で指定:
- インターフェース
ScriptExecutorのexecuteScript - パラメーター:
scriptSource- スクリプトソース。variables- 変数。- 戻り値:
- 実行の結果。
postProcess
protected abstract ObjectSE postProcess(ObjectSE result, ScriptEngineSE scriptEngine, StringSE script, @Nullable BindingsSE bindings) サブクラスはこれを実装して、必要な特別な処理を提供できます。- パラメーター:
result- 結果。scriptEngine- そのエンジン。script- スクリプト。bindings- バインディング。- 戻り値:
- 変更された結果