クラス JpaBaseOutboundEndpointSpec<S extends JpaBaseOutboundEndpointSpec<S>>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S, JpaOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<S, JpaOutboundGateway>
org.springframework.integration.jpa.dsl.JpaBaseOutboundEndpointSpec<S>
- 型パラメーター:
S- ターゲットJpaBaseOutboundEndpointSpec実装型。
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<JpaOutboundGateway>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
public abstract class JpaBaseOutboundEndpointSpec<S extends JpaBaseOutboundEndpointSpec<S>>
extends MessageHandlerSpec<S, JpaOutboundGateway>
implements ComponentsRegistration
JPA 送信エンドポイントのベース
MessageHandlerSpec。- 導入:
- 5.0
- 作成者:
- Artem Bilan
フィールドのサマリー
フィールドクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明entityClass(ClassSE<?> entityClass) データベースからエンティティを取得するために使用されているクラス型を指定します。永続的な操作を実行する JPA クエリを指定します。namedQuery(StringSE namedQuery) 名前付きの JPQL ベースのクエリまたはネイティブ SQL クエリの名前を指定します。nativeQuery(StringSE nativeQuery) 永続的な操作を実行するネイティブ SQL クエリを指定します。インデックス付きクエリパラメーターの値を追加します。クエリに名前付きパラメーターの値を追加します。parameter(JpaParameter jpaParameter) parameterExpression(StringSE expression) クエリ内のインデックス付きパラメーターの SpEL 式を追加します。parameterExpression(StringSE name, StringSE expression) クエリに名前付きパラメーターの SpEL 式を追加します。parameterSourceFactory(ParameterSourceFactory parameterSourceFactory) ParameterSourceFactoryを指定して、実行時にリクエストメッセージに対してクエリパラメーターを設定します。usePayloadAsParameterSource(BooleanSE usePayloadAsParameterSource) 渡されたMessageのペイロードのみをパラメーターのソースとして使用するかどうかを示します。クラス 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
フィールドの詳細
jpaExecutor
コンストラクターの詳細
JpaBaseOutboundEndpointSpec
メソッドの詳細
entityClass
jpaQuery
nativeQuery
namedQuery
parameterSourceFactory
ParameterSourceFactoryを指定して、実行時にリクエストメッセージに対してクエリパラメーターを設定します。- パラメーター:
parameterSourceFactory- 使用するParameterSourceFactory。- 戻り値:
- スペック
parameter
parameter
parameterExpression
parameterExpression
parameter
usePayloadAsParameterSource
渡されたMessageのペイロードのみがパラメーターのソースとして使用されるかどうかを示します。デフォルトでは sqlParameterSourceFactory プロパティにBeanPropertyParameterSourceFactory実装が使用されるため、はデフォルトで "true" になります。- パラメーター:
usePayloadAsParameterSource- パラメーター値のソースとしてpayloadを使用するかどうかを示すbooleanフラグ。- 戻り値:
- スペック
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistrationのgetComponentsToRegister