S - ターゲット JpaBaseOutboundEndpointSpec 実装型。public abstract class JpaBaseOutboundEndpointSpec<S extends JpaBaseOutboundEndpointSpec<S>> extends MessageHandlerSpec<S,JpaOutboundGateway> implements ComponentsRegistration
MessageHandlerSpec。| 修飾子と型 | フィールドと説明 |
|---|---|
protected JpaExecutor | jpaExecutor |
PARSER, targetloggerDEFAULT_PHASEOBJECT_TYPE_ATTRIBUTE| 修飾子 | コンストラクターと説明 |
|---|---|
protected | JpaBaseOutboundEndpointSpec(JpaExecutor jpaExecutor) |
| 修飾子と型 | メソッドと説明 |
|---|---|
S | entityClass(ClassSE<?> entityClass) データベースからエンティティを取得するために使用されているクラス型を指定します。 |
MapSE<ObjectSE, StringSE> | getComponentsToRegister() |
S | jpaQuery(StringSE jpaQuery) 永続的な操作を実行する JPA クエリを指定します。 |
S | namedQuery(StringSE namedQuery) 名前付きの JPQL ベースのクエリまたはネイティブ SQL クエリの名前を指定します。 |
S | nativeQuery(StringSE nativeQuery) 永続的な操作を実行するネイティブ SQL クエリを指定します。 |
S | parameter(JpaParameter jpaParameter) |
S | parameter(ObjectSE value) インデックス付きクエリパラメーターの値を追加します。 |
S | parameter(StringSE name, ObjectSE value) クエリに名前付きパラメーターの値を追加します。 |
S | parameterExpression(StringSE expression) クエリ内のインデックス付きパラメーターの SpEL 式を追加します。 |
S | parameterExpression(StringSE name, StringSE expression) クエリに名前付きパラメーターの SpEL 式を追加します。 |
S | parameterSourceFactory(ParameterSourceFactory parameterSourceFactory)ParameterSourceFactory を指定して、実行時にリクエストメッセージに対してクエリパラメーターを設定します。 |
S | usePayloadAsParameterSource(BooleanSE usePayloadAsParameterSource) 渡された Message のペイロードのみをパラメーターのソースとして使用するかどうかを示します。 |
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletoncloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected final JpaExecutor jpaExecutor
protected JpaBaseOutboundEndpointSpec(JpaExecutor jpaExecutor)
public S entityClass(ClassSE<?> entityClass)
entityClass - 使用するエンティティ ClassSEpublic S jpaQuery(StringSE jpaQuery)
jpaQuery - 使用する JPA クエリ。public S nativeQuery(StringSE nativeQuery)
nativeQuery - 使用するネイティブ SQL クエリ。public S namedQuery(StringSE namedQuery)
namedQuery - 事前設定されたクエリの名前。public S parameterSourceFactory(ParameterSourceFactory parameterSourceFactory)
ParameterSourceFactory を指定して、実行時にリクエストメッセージに対してクエリパラメーターを設定します。parameterSourceFactory - 使用する ParameterSourceFactory。public S parameter(ObjectSE value)
value - インデックス別のクエリパラメーターの値 public S parameter(StringSE name, ObjectSE value)
name - クエリパラメーターの名前 value - 名前によるクエリパラメーターの値 public S parameterExpression(StringSE expression)
expression - インデックスによるクエリパラメーターの SpEL 式 public S parameterExpression(StringSE name, StringSE expression)
name - クエリパラメーターの名前 expression - 名前によるクエリパラメーターの SpEL 式 public S parameter(JpaParameter jpaParameter)
public S usePayloadAsParameterSource(BooleanSE usePayloadAsParameterSource)
Message のペイロードのみがパラメーターのソースとして使用されるかどうかを示します。デフォルトでは sqlParameterSourceFactory プロパティに BeanPropertyParameterSourceFactory 実装が使用されるため、はデフォルトで "true" になります。usePayloadAsParameterSource - パラメーター値のソースとして payload を使用するかどうかを示す boolean フラグ。public MapSE<ObjectSE,StringSE> getComponentsToRegister()
ComponentsRegistration の getComponentsToRegister