クラス AbstractExecutorChannel
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.channel.AbstractMessageChannel
org.springframework.integration.channel.AbstractSubscribableChannel
org.springframework.integration.channel.AbstractExecutorChannel
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、BeanNameAware、DisposableBean、InitializingBean、ApplicationContextAware、ExecutorChannelInterceptorAware、ComponentSourceAware、ExpressionCapable、IntegrationPattern、NamedComponent、IntegrationManagement、SubscribableChannelManagement、TrackableComponent、MessageChannel、SubscribableChannel、InterceptableChannel
public abstract class AbstractExecutorChannel
extends AbstractSubscribableChannel
implements ExecutorChannelInterceptorAware
ロジックが
ExecutorSE に基づいている可能性のある継承の AbstractSubscribableChannel 基本実装。AbstractDispatcher の一般的な操作を利用します。
メッセージ処理が Executor.execute(Runnable)SE に渡されるときに、ExecutorChannelInterceptor のロジックを実装します。
- 導入:
- 4.2
- 作成者:
- Artem Bilan, Gary Russell, Ngoc Nhan
- 関連事項:
ネストされたクラスの要約
ネストされたクラスクラス org.springframework.integration.channel.AbstractMessageChannel から継承されたネストクラス / インターフェース
AbstractMessageChannel.ChannelInterceptorListインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールドのサマリー
フィールド修飾子と型フィールド説明protected AbstractDispatcherprotected @Nullable ExecutorSEprotected intprotected @Nullable IntegerSEクラス org.springframework.integration.channel.AbstractMessageChannel から継承されたフィールド
interceptors, metersクラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEインターフェース org.springframework.messaging.MessageChannel から継承されたフィールド
INDEFINITE_TIMEOUTコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidaddInterceptor(int index, ChannelInterceptor interceptor) リストの指定されたインデックスにチャネルインターセプターを追加します。voidaddInterceptor(ChannelInterceptor interceptor) リストの最後にチャネルインターセプターを追加します。このコンポーネントが実装するパターン型を返します。booleanremoveInterceptor(int index) booleanremoveInterceptor(ChannelInterceptor interceptor) voidsetInterceptors(ListSE<ChannelInterceptor> interceptors) チャネルインターセプターのリストを設定します。voidsetMaxSubscribers(int maxSubscribers) チャネルのディスパッチャーがサポートするサブスクライバの最大数を指定します。クラス org.springframework.integration.channel.AbstractSubscribableChannel から継承されたメソッド
doSend, getDispatcher, getSubscriberCount, subscribe, unsubscribeクラス org.springframework.integration.channel.AbstractMessageChannel から継承されたメソッド
destroy, getComponentType, getFullChannelName, getIChannelInterceptorList, getInterceptors, getMetricsCaptor, getOverrides, isApplicationRunning, isLoggingEnabled, isObserved, onInit, registerMetricsCaptor, registerObservationRegistry, send, send, setDatatypes, setLoggingEnabled, setMessageConverter, setObservationConvention, setShouldTrackクラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
getManagedName, getManagedType, getThisAs, setManagedName, setManagedTypeインターフェース org.springframework.messaging.support.InterceptableChannel から継承されたメソッド
getInterceptorsインターフェース org.springframework.messaging.MessageChannel から継承されたメソッド
send, sendインターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド
getBeanName, getComponentName
フィールドの詳細
executor
dispatcher
maxSubscribers
executorInterceptorsSize
protected int executorInterceptorsSize
コンストラクターの詳細
AbstractExecutorChannel
メソッドの詳細
setMaxSubscribers
public void setMaxSubscribers(int maxSubscribers) チャネルのディスパッチャーがサポートするサブスクライバの最大数を指定します。- パラメーター:
maxSubscribers- 許可されるサブスクライバーの最大数。
setInterceptors
クラスからコピーされた説明:AbstractMessageChannelチャネルインターセプターのリストを設定します。これにより、既存のインターセプターがすべてクリアされます。- 次で指定:
- インターフェース
InterceptableChannelのsetInterceptors - オーバーライド:
- クラス
AbstractMessageChannelのsetInterceptors - パラメーター:
interceptors- インターセプターのリスト。
addInterceptor
クラスからコピーされた説明:AbstractMessageChannelリストの最後にチャネルインターセプターを追加します。- 次で指定:
- インターフェース
InterceptableChannelのaddInterceptor - オーバーライド:
- クラス
AbstractMessageChannelのaddInterceptor - パラメーター:
interceptor- インターセプター。
addInterceptor
クラスからコピーされた説明:AbstractMessageChannelリストの指定されたインデックスにチャネルインターセプターを追加します。- 次で指定:
- インターフェース
InterceptableChannelのaddInterceptor - オーバーライド:
- クラス
AbstractMessageChannelのaddInterceptor - パラメーター:
index- インターセプターを追加するためのインデックス。interceptor- インターセプター。
removeInterceptor
- 次で指定:
- インターフェース
InterceptableChannelのremoveInterceptor - オーバーライド:
- クラス
AbstractMessageChannelのremoveInterceptor
removeInterceptor
- 次で指定:
- インターフェース
InterceptableChannelのremoveInterceptor - オーバーライド:
- クラス
AbstractMessageChannelのremoveInterceptor
hasExecutorInterceptors
public boolean hasExecutorInterceptors()- 次で指定:
- インターフェース
ExecutorChannelInterceptorAwareのhasExecutorInterceptors
getIntegrationPatternType
インターフェースからコピーされた説明:IntegrationPatternこのコンポーネントが実装するパターン型を返します。- 次で指定:
- インターフェース
IntegrationPatternのgetIntegrationPatternType - オーバーライド:
- クラス
AbstractMessageChannelのgetIntegrationPatternType - 戻り値:
- このコンポーネントが実装する
IntegrationPatternType