クラス MessagingMethodInvokerHelper

java.lang.ObjectSE
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.support.MessagingMethodInvokerHelper
実装されたすべてのインターフェース:
AwareBeanFactoryAwareInitializingBeanLifecycleManageableLifecycle

public class MessagingMethodInvokerHelper extends AbstractExpressionEvaluator implements ManageableLifecycle
メッセージペイロードとヘッダーの組み合わせを引数として使用して、ターゲットオブジェクトのメソッドを呼び出すプロセッサーのヘルパークラス。メソッドインスタンスまたはメソッド名は、コンストラクター引数として指定できます。メソッド名が指定されていて、宣言された複数のメソッドがその名前を持っている場合、メソッドの選択は、基になる SpEL メソッドの解決に基づいて動的になります。あるいは、SpEL のメソッド解決の候補が、メソッド名ではなくそのアノテーションの存在によって決定されるように、アノテーション型を提供することもできます。
導入:
2.0
作成者:
Mark Fisher, Oleg Zhurakousky, Dave Syer, Gunnar Hillert, Soby Chacko, Gary Russell, Artem Bilan, Trung Pham, Christian Tzolov
  • コンストラクターの詳細

    • MessagingMethodInvokerHelper

      public MessagingMethodInvokerHelper(ObjectSE targetObject, MethodSE method, ClassSE<?> expectedType, boolean canProcessMessageList)
    • MessagingMethodInvokerHelper

      public MessagingMethodInvokerHelper(ObjectSE targetObject, MethodSE method, boolean canProcessMessageList)
    • MessagingMethodInvokerHelper

      public MessagingMethodInvokerHelper(ObjectSE targetObject, StringSE methodName, ClassSE<?> expectedType, boolean canProcessMessageList)
    • MessagingMethodInvokerHelper

      public MessagingMethodInvokerHelper(ObjectSE targetObject, StringSE methodName, boolean canProcessMessageList)
    • MessagingMethodInvokerHelper

      public MessagingMethodInvokerHelper(ObjectSE targetObject, ClassSE<? extends AnnotationSE> annotationType, boolean canProcessMessageList)
    • MessagingMethodInvokerHelper

      public MessagingMethodInvokerHelper(ObjectSE targetObject, ClassSE<? extends AnnotationSE> annotationType, ClassSE<?> expectedType, boolean canProcessMessageList)
  • メソッドの詳細