クラス RemoteFileStreamingInboundChannelAdapterSpec<F,S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>,MS extends AbstractRemoteFileStreamingMessageSource<F>>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>
- 型パラメーター:
F
- ターゲットファイル型。S
- ターゲットRemoteFileStreamingInboundChannelAdapterSpec
実装型。MS
- ターゲットAbstractRemoteFileStreamingMessageSource
実装型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<MS>
、InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
、ComponentsRegistration
- 既知の直属サブクラス
FtpStreamingInboundChannelAdapterSpec
、SftpStreamingInboundChannelAdapterSpec
、SmbStreamingInboundChannelAdapterSpec
public abstract class RemoteFileStreamingInboundChannelAdapterSpec<F,S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>,MS extends AbstractRemoteFileStreamingMessageSource<F>>
extends MessageSourceSpec<S,MS>
implements ComponentsRegistration
- 導入:
- 5.0
- 作成者:
- Gary Russell
フィールドサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明filter
(FileListFilter<F> filter) FileListFilter
をコピーする前に、リモートファイルに適用するように構成します。filterExpression
(StringSE expression) ExpressionFileListFilter
を構成します。filterFunction
(FunctionSE<F, BooleanSE> filterFunction) ExpressionFileListFilter
を構成します。maxFetchSize
(int maxFetchSize) フェッチの試行ごとにフェッチされるリモートファイルの最大数を指定します。abstract S
patternFilter
(StringSE pattern) 単純なパターンフィルターを構成します(例:abstract S
regexFilter
(StringSE regex) 正規表現パターンフィルターを構成します(例:remoteDirectory
(StringSE remoteDirectory) リモートディレクトリへの絶対パスを指定します。remoteDirectory
(FunctionSE<Message<?>, StringSE> remoteDirectoryFunction) リモートディレクトリへの絶対パスを判別するために呼び出される関数を指定してください。remoteDirectory
(Expression remoteDirectoryExpression) リモートディレクトリへの絶対パスに評価される式を指定します。remoteFileSeparator
(StringSE remoteFileSeparator) リモートシステムで使用されるファイル名パス区切り文字を構成します。クラス org.springframework.integration.dsl.MessageSourceSpec から継承されたメソッド
messageHeaders
クラス 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
コンストラクターの詳細
RemoteFileStreamingInboundChannelAdapterSpec
public RemoteFileStreamingInboundChannelAdapterSpec()
メソッドの詳細
remoteFileSeparator
リモートシステムで使用されるファイル名パス区切り文字を構成します。デフォルトは "/" です。- パラメーター:
remoteFileSeparator
- remoteFileSeparator。- 戻り値:
- スペック。
remoteDirectory
リモートディレクトリへの絶対パスを指定します。- パラメーター:
remoteDirectory
- remoteDirectory。- 戻り値:
- スペック。
- 関連事項:
remoteDirectory
リモートディレクトリへの絶対パスに評価される式を指定します。- パラメーター:
remoteDirectoryExpression
- リモートディレクトリ式。- 戻り値:
- スペック。
remoteDirectory
リモートディレクトリへの絶対パスを判別するために呼び出される関数を指定してください。- パラメーター:
remoteDirectoryFunction
- リモートディレクトリ機能。- 戻り値:
- スペック。
filter
FileListFilter
をコピーする前に、リモートファイルに適用するように構成します。- パラメーター:
filter
- フィルター。- 戻り値:
- スペック。
filterExpression
ExpressionFileListFilter
を構成します。- パラメーター:
expression
- ファイルフィルタリング用の SpEL 式。- 戻り値:
- スペック。
- 関連事項:
filterFunction
ExpressionFileListFilter
を構成します。- パラメーター:
filterFunction
- ファイルフィルタリング用のFunction
SE。- 戻り値:
- スペック。
- 関連事項:
maxFetchSize
フェッチの試行ごとにフェッチされるリモートファイルの最大数を指定します。複数のアプリケーションインスタンスが実行されている場合は、1 つのインスタンスがすべてのファイルを「取得」しないように、少数をお勧めします。- パラメーター:
maxFetchSize
- 最大フェッチサイズ。- 戻り値:
- スペック。
- 関連事項:
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistration
のgetComponentsToRegister
patternFilter
単純なパターンフィルターを構成します(例: "*.txt" )。- パラメーター:
pattern
- パターン。- 戻り値:
- スペック。
- 関連事項:
regexFilter
正規表現パターンフィルターを構成します(例: '[0-9].*。txt')。- パラメーター:
regex
- 正規表現。- 戻り値:
- スペック。
- 関連事項: