クラス JpaOutboundGatewayFactoryBean
java.lang.ObjectSE
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
org.springframework.integration.jpa.outbound.JpaOutboundGatewayFactoryBean
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、BeanNameAware
、FactoryBean<MessageHandler>
、ApplicationContextAware
、ApplicationEventPublisherAware
public class JpaOutboundGatewayFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<JpaOutboundGateway>
JpaOutboundGatewayFactoryBean
は、JpaOutboundGateway
のインスタンスを作成します。オプションで、この FactoryBean
は Aop アドバイスを追加します(例: TransactionInterceptor
を JpaOutboundGateway
インスタンスに追加します。- 導入:
- 2.2
- 作成者:
- Amol Nayak, Gunnar Hillert, Gary Russell, Artem Bilan
フィールドのサマリー
クラス org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean から継承されたフィールド
logger
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected JpaOutboundGateway
void
setGatewayType
(OutboundGatewayType gatewayType) void
setJpaExecutor
(JpaExecutor jpaExecutor) void
setProducesReply
(boolean producesReply) void
setReplyTimeout
(long replyTimeout) ゲートウェイが結果を応答チャネルに送信するまで待機する時間を指定します。void
setRequiresReply
(boolean requiresReply) クラス org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean から継承されたメソッド
createHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
コンストラクターの詳細
JpaOutboundGatewayFactoryBean
public JpaOutboundGatewayFactoryBean()
メソッドの詳細
setJpaExecutor
setGatewayType
setProducesReply
public void setProducesReply(boolean producesReply) setReplyTimeout
public void setReplyTimeout(long replyTimeout) ゲートウェイが結果を応答チャネルに送信するまで待機する時間を指定します。応答チャネル自体が「送信」操作をブロックする可能性がある場合にのみ適用されます (たとえば、現在満杯である制限された QueueChannel)。- パラメーター:
replyTimeout
- ミリ秒単位のタイムアウト
setRequiresReply
public void setRequiresReply(boolean requiresReply) createHandler