クラス JpaUpdatingOutboundEndpointSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<JpaUpdatingOutboundEndpointSpec,JpaOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<JpaUpdatingOutboundEndpointSpec,JpaOutboundGateway>
org.springframework.integration.jpa.dsl.JpaBaseOutboundEndpointSpec<JpaUpdatingOutboundEndpointSpec>
org.springframework.integration.jpa.dsl.JpaUpdatingOutboundEndpointSpec
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<JpaOutboundGateway>
、InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
、ComponentsRegistration
public class JpaUpdatingOutboundEndpointSpec
extends JpaBaseOutboundEndpointSpec<JpaUpdatingOutboundEndpointSpec>
updating
JpaOutboundGateway
モードの JpaBaseOutboundEndpointSpec
拡張。outbound-channel-adapter
は、内部 producesReply
オプションを介して実現できます。- 導入:
- 5.0
- 作成者:
- Artem Bilan
フィールドのサマリー
クラス org.springframework.integration.jpa.dsl.JpaBaseOutboundEndpointSpec から継承されたフィールド
jpaExecutor
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明clearOnFlush
(boolean clearOnFlush) flush
(boolean flush) true
に設定されている場合、EntityManager.flush()
は永続化操作の後に呼び出されます。flushSize
(int flushSize) 指定された値が0
より大きい場合、EntityManager.flush()
は、永続化操作の後およびバッチ操作内で呼び出されます。persistMode
(PersistMode persistMode) ゲートウェイにPersistMode
を指定します。protected JpaUpdatingOutboundEndpointSpec
producesReply
(boolean producesReply) クラス org.springframework.integration.jpa.dsl.JpaBaseOutboundEndpointSpec から継承されたメソッド
entityClass, getComponentsToRegister, jpaQuery, namedQuery, nativeQuery, parameter, parameter, parameter, parameterExpression, parameterExpression, parameterSourceFactory, usePayloadAsParameterSource
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingleton
コンストラクターの詳細
JpaUpdatingOutboundEndpointSpec
メソッドの詳細
producesReply
persistMode
ゲートウェイにPersistMode
を指定します。デフォルトはPersistMode.MERGE
です。- パラメーター:
persistMode
- 使用するPersistMode
。- 戻り値:
- スペック
flush
true
に設定されている場合、EntityManager.flush()
は永続化操作の後に呼び出されます。flushSize(int)
が1
に指定されている場合、同じ効果があります。永続化するために提供されたエンティティがIterable
SE のインスタンスではない場合の便宜上。- パラメーター:
flush
- デフォルトはfalse
です。- 戻り値:
- スペック
flushSize
指定された値が0
より大きい場合、EntityManager.flush()
は、永続化操作の後およびバッチ操作内で呼び出されます。このプロパティは、0
より大きい値に指定されている場合、flush(boolean)
よりも優先されます。永続化するエンティティがIterable
SE のインスタンスではなく、このプロパティが0
より大きい場合、エンティティはflush(boolean)
属性がtrue
に設定されているかのようにフラッシュされます。- パラメーター:
flushSize
- デフォルトは0
です。- 戻り値:
- スペック
clearOnFlush
- パラメーター:
clearOnFlush
- デフォルトはfalse
です。- 戻り値:
- スペック