クラス 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
ロジックが
Executor
SE に基づいている可能性のある継承の 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
フィールドのサマリー
フィールドクラス 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
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
addInterceptor
(int index, ChannelInterceptor interceptor) リストの指定されたインデックスにチャネルインターセプターを追加します。void
addInterceptor
(ChannelInterceptor interceptor) リストの最後にチャネルインターセプターを追加します。このコンポーネントが実装するパターン型を返します。boolean
removeInterceptor
(int index) boolean
removeInterceptor
(ChannelInterceptor interceptor) void
setInterceptors
(ListSE<ChannelInterceptor> interceptors) チャネルインターセプターのリストを設定します。void
setMaxSubscribers
(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, 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