public class GroovyCommandMessageProcessor extends AbstractScriptExecutingMessageProcessor<ObjectSE> implements IntegrationPattern
| コンストラクターと説明 |
|---|
GroovyCommandMessageProcessor()DefaultScriptVariableGenerator を使用する GroovyCommandMessageProcessor を作成します。 |
GroovyCommandMessageProcessor(groovy.lang.Binding binding) |
GroovyCommandMessageProcessor(groovy.lang.Binding binding, ScriptVariableGenerator scriptVariableGenerator) 提供された ScriptVariableGenerator とバインディングを使用する GroovyCommandMessageProcessor を作成します。 |
GroovyCommandMessageProcessor(ScriptVariableGenerator scriptVariableGenerator) 提供された ScriptVariableGenerator を使用する GroovyCommandMessageProcessor を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected ObjectSE | executeScript(ScriptSource scriptSource, MapSE<StringSE, ObjectSE> variables) サブクラスはこのメソッドを実装する必要があります。 |
protected StringSE | generateScriptName(Message<?> message) |
IntegrationPatternType | getIntegrationPatternType() このコンポーネントが実装するパターン型を返します。 |
protected ScriptSource | getScriptSource(Message<?> message) サブクラスは、このメソッドを実装してスクリプトソースを作成する必要があります。オプションで、メッセージを使用してスクリプトを検索または作成します。 |
void | setCustomizer(GroovyObjectCustomizer customizer) このプロセッサーに GroovyObjectCustomizer を設定します。 |
getBeanClassLoader, getBeanFactory, getScriptVariableGenerator, processMessage, setBeanClassLoader, setBeanFactorycloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic GroovyCommandMessageProcessor()
DefaultScriptVariableGenerator を使用する GroovyCommandMessageProcessor を作成します。public GroovyCommandMessageProcessor(ScriptVariableGenerator scriptVariableGenerator)
ScriptVariableGenerator を使用する GroovyCommandMessageProcessor を作成します。scriptVariableGenerator - 変数ジェネレーター。public GroovyCommandMessageProcessor(groovy.lang.Binding binding)
DefaultScriptVariableGenerator を使用して Binding を提供する GroovyCommandMessageProcessor を作成します。提供された「バインディング」は、元の Groovy スクリプトの「バインディング」を上書きするために BindingOverwriteGroovyObjectCustomizerDecorator で使用されます。binding - バインディング。public GroovyCommandMessageProcessor(groovy.lang.Binding binding,
ScriptVariableGenerator scriptVariableGenerator)ScriptVariableGenerator とバインディングを使用する GroovyCommandMessageProcessor を作成します。提供された「バインディング」は、元の Groovy スクリプトの「バインディング」を上書きするために BindingOverwriteGroovyObjectCustomizerDecorator で使用されます。binding - バインディング。scriptVariableGenerator - 変数ジェネレーター。public void setCustomizer(GroovyObjectCustomizer customizer)
GroovyObjectCustomizer を設定します。customizer - カスタマイザー。public IntegrationPatternType getIntegrationPatternType()
IntegrationPatternIntegrationPattern の getIntegrationPatternType IntegrationPatternTypeprotected ScriptSource getScriptSource(Message<?> message)
AbstractScriptExecutingMessageProcessorAbstractScriptExecutingMessageProcessor<ObjectSE> の getScriptSource message - 処理中のメッセージ protected ObjectSE executeScript(ScriptSource scriptSource, MapSE<StringSE,ObjectSE> variables)
AbstractScriptExecutingMessageProcessorAbstractScriptExecutingMessageProcessor<ObjectSE> の executeScript scriptSource - スクリプトソース。variables - 変数。