public class ChannelRegistration extends ObjectSE
MessageChannel
の構成をカスタマイズするための登録クラス。コンストラクターと説明 |
---|
ChannelRegistration() |
修飾子と型 | メソッドと説明 |
---|---|
protected ListSE<ChannelInterceptor> | getInterceptors() |
protected boolean | hasInterceptors() |
protected boolean | hasTaskExecutor() |
ChannelRegistration | interceptors(ChannelInterceptor... interceptors) このメッセージチャネルの特定のインターセプターを構成し、インターセプターのチャネルの現在のリストに追加します。 |
ChannelRegistration | setInterceptors(ChannelInterceptor... interceptors) 使用すべきではありません。 4.3.12 現在、 interceptors(ChannelInterceptor...) を推奨 |
TaskExecutorRegistration | taskExecutor() このメッセージチャネルをバッキングするスレッドプールを構成します。 |
TaskExecutorRegistration | taskExecutor(ThreadPoolTaskExecutor taskExecutor) カスタム ThreadPoolTaskExecutor を使用して、このメッセージチャネルをバッキングするスレッドプールを構成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public TaskExecutorRegistration taskExecutor()
public TaskExecutorRegistration taskExecutor(@Nullable ThreadPoolTaskExecutor taskExecutor)
taskExecutor
- 使用するエグゼキュータ (またはデフォルトのエグゼキューターの場合は null
)public ChannelRegistration interceptors(ChannelInterceptor... interceptors)
@DeprecatedSE public ChannelRegistration setInterceptors(@Nullable ChannelInterceptor... interceptors)
interceptors(ChannelInterceptor...)
に置き換えられました。protected boolean hasTaskExecutor()
protected boolean hasInterceptors()
protected ListSE<ChannelInterceptor> getInterceptors()