クラス 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、ExpressionCapable、IntegrationPattern、NamedComponent、IntegrationManagement、SubscribableChannelManagement、TrackableComponent、MessageChannel、SubscribableChannel、InterceptableChannel
- 既知の直属サブクラス
ExecutorChannel,PublishSubscribeChannel
public abstract class AbstractExecutorChannel extends AbstractSubscribableChannel implements ExecutorChannelInterceptorAware
ロジックが
ExecutorSE に基づいている可能性のある継承の AbstractSubscribableChannel 基本実装。AbstractDispatcher の一般的な操作を利用します。
メッセージ処理が Executor.execute(Runnable)SE に渡されるときに、ExecutorChannelInterceptor のロジックを実装します。
- 導入:
- 4.2
- 作成者:
- Artem Bilan, Gary Russell
- 関連事項:
ExecutorChannel,PublishSubscribeChannel
ネストされたクラスの要約
ネストされたクラス 修飾子と型 クラス 説明 protected classAbstractExecutorChannel.MessageHandlingTaskクラス org.springframework.integration.channel.AbstractMessageChannel から継承されたネストクラス / インターフェース
AbstractMessageChannel.ChannelInterceptorListインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected AbstractDispatcherdispatcherprotected ExecutorSEexecutorprotected intexecutorInterceptorsSizeprotected IntegerSEmaxSubscribersクラス 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コンストラクターの概要
コンストラクター コンストラクター 説明 AbstractExecutorChannel(ExecutorSE executor)メソッドのサマリー
修飾子と型 メソッド 説明 voidaddInterceptor(int index, ChannelInterceptor interceptor)リストの指定されたインデックスにチャネルインターセプターを追加します。voidaddInterceptor(ChannelInterceptor interceptor)リストの最後にチャネルインターセプターを追加します。IntegrationPatternTypegetIntegrationPatternType()このコンポーネントが実装するパターン型を返します。booleanhasExecutorInterceptors()ChannelInterceptorremoveInterceptor(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, isLoggingEnabled, onInit, registerMetricsCaptor, send, send, setDatatypes, setLoggingEnabled, setMessageConverter, setShouldTrackクラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, 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.integration.support.context.NamedComponent から継承されたメソッド
getBeanName, getComponentName
フィールドの詳細
executor
dispatcher
maxSubscribers
executorInterceptorsSize
protected int executorInterceptorsSize
コンストラクターの詳細
メソッドの詳細
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