クラス 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 JpaUpdatingOutboundEndpointSpecproducesReply(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インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
JpaUpdatingOutboundEndpointSpec
メソッドの詳細
producesReply
persistMode
ゲートウェイにPersistModeを指定します。デフォルトはPersistMode.MERGEです。- パラメーター:
persistMode- 使用するPersistMode。- 戻り値:
- スペック
flush
trueに設定されている場合、EntityManager.flush()は永続化操作の後に呼び出されます。flushSize(int)が1に指定されている場合、同じ効果があります。永続化するために提供されたエンティティがIterableSE のインスタンスではない場合の便宜上。- パラメーター:
flush- デフォルトはfalseです。- 戻り値:
- スペック
flushSize
指定された値が0より大きい場合、EntityManager.flush()は、永続化操作の後およびバッチ操作内で呼び出されます。このプロパティは、0より大きい値に指定されている場合、flush(boolean)よりも優先されます。永続化するエンティティがIterableSE のインスタンスではなく、このプロパティが0より大きい場合、エンティティはflush(boolean)属性がtrueに設定されているかのようにフラッシュされます。- パラメーター:
flushSize- デフォルトは0です。- 戻り値:
- スペック
clearOnFlush
- パラメーター:
clearOnFlush- デフォルトはfalseです。- 戻り値:
- スペック