クラス JpaOutboundGatewayFactoryBean

java.lang.ObjectSE
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
実装されたすべてのインターフェース:
AwareBeanFactoryAwareBeanNameAwareFactoryBean<MessageHandler>ApplicationContextAwareApplicationEventPublisherAware

public class JpaOutboundGatewayFactoryBean extends AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
JpaOutboundGatewayFactoryBean は、JpaOutboundGateway のインスタンスを作成します。オプションで、この FactoryBean は Aop アドバイスを追加します(例: TransactionInterceptorJpaOutboundGateway インスタンスに追加します。
導入:
2.2
作成者:
Amol Nayak, Gunnar Hillert, Gary Russell, Artem Bilan
  • コンストラクターの詳細

    • JpaOutboundGatewayFactoryBean

      public JpaOutboundGatewayFactoryBean()
  • メソッドの詳細

    • setJpaExecutor

      public void setJpaExecutor(JpaExecutor jpaExecutor)
    • setGatewayType

      public void setGatewayType(OutboundGatewayType gatewayType)
    • setProducesReply

      public void setProducesReply(boolean producesReply)
    • setReplyTimeout

      public void setReplyTimeout(long replyTimeout)
      ゲートウェイが結果を応答チャネルに送信するまで待機する時間を指定します。応答チャネル自体が「送信」操作をブロックする可能性がある場合にのみ適用されます (たとえば、現在満杯である制限された QueueChannel)。
      パラメーター:
      replyTimeout - ミリ秒単位のタイムアウト
    • setRequiresReply

      public void setRequiresReply(boolean requiresReply)
    • createHandler

      protected JpaOutboundGateway createHandler()
      次で指定:
      クラス AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>createHandler