クラス AbstractSimpleMessageHandlerFactoryBean<H extends MessageHandler>
java.lang.ObjectSE
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<H>
- 型パラメーター:
H
- ターゲットメッセージハンドラー型。
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、BeanNameAware
、FactoryBean<MessageHandler>
、ApplicationContextAware
、ApplicationEventPublisherAware
- 既知の直属サブクラス
AbstractStandardMessageHandlerFactoryBean
、AggregatorFactoryBean
、ControlBusFactoryBean
、ExpressionControlBusFactoryBean
、FileWritingMessageHandlerFactoryBean
、GroovyControlBusFactoryBean
、JpaOutboundGatewayFactoryBean
public abstract class AbstractSimpleMessageHandlerFactoryBean<H extends MessageHandler>
extends ObjectSE
implements FactoryBean<MessageHandler>, ApplicationContextAware, BeanFactoryAware, BeanNameAware, ApplicationEventPublisherAware
MessageHandler
を作成および構成するためのファクトリ Bean。- 作成者:
- Dave Syer, Oleg Zhurakousky, Gary Russell, Artem Bilan, David Liu, Christian Tzolov, Ngoc Nhan
フィールドのサマリー
フィールドインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected abstract H
protected final H
protected BeanFactory
ClassSE
<? extends MessageHandler> protected ClassSE
<? extends MessageHandler> サブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。boolean
void
setAdviceChain
(ListSE<Advice> adviceChain) AbstractReplyProducingMessageHandler
内で構成するアドバイスチェーンを設定して、このローカルエンドポイントのみにアドバイスします。void
setApplicationContext
(ApplicationContext applicationContext) void
setApplicationEventPublisher
(ApplicationEventPublisher applicationEventPublisher) void
現在、サービスアクティベーター名前空間でのみ公開されています。void
setBeanFactory
(BeanFactory beanFactory) void
setBeanName
(StringSE beanName) void
setChannelResolver
(DestinationResolver<MessageChannel> channelResolver) ハンドラーのチャネルリゾルバーを設定します。void
setComponentName
(StringSE componentName) ハンドラーコンポーネントの名前を設定します。void
ハンドラーがそのチャネルにサブスクライブされる順序を設定します(サブスクライブ可能な場合)。void
setOutputChannel
(MessageChannel outputChannel) ハンドラーの出力チャネルを設定します。void
setOutputChannelName
(StringSE outputChannelName) ハンドラーの出力チャネル名を設定します。
フィールドの詳細
logger
コンストラクターの詳細
AbstractSimpleMessageHandlerFactoryBean
public AbstractSimpleMessageHandlerFactoryBean()
メソッドの詳細
setApplicationContext
- 次で指定:
- インターフェース
ApplicationContextAware
のsetApplicationContext
- 例外:
BeansException
setBeanName
- 次で指定:
- インターフェース
BeanNameAware
のsetBeanName
setApplicationEventPublisher
- 次で指定:
- インターフェース
ApplicationEventPublisherAware
のsetApplicationEventPublisher
setChannelResolver
ハンドラーのチャネルリゾルバーを設定します。- パラメーター:
channelResolver
- 設定するチャネルリゾルバー。
setOutputChannel
ハンドラーの出力チャネルを設定します。- パラメーター:
outputChannel
- 設定する出力チャネル。
setOutputChannelName
ハンドラーの出力チャネル名を設定します。- パラメーター:
outputChannelName
- 設定する出力チャネル Bean 名。- 導入:
- 5.1.4
setOrder
ハンドラーがそのチャネルにサブスクライブされる順序を設定します(サブスクライブ可能な場合)。- パラメーター:
order
- 設定する順序。
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAware
のsetBeanFactory
- 例外:
BeansException
getBeanFactory
setAdviceChain
AbstractReplyProducingMessageHandler
内で構成するアドバイスチェーンを設定して、このローカルエンドポイントのみにアドバイスします。他のハンドラーの場合、ハンドラー自体の周囲にアドバイスチェーンが適用されます。- パラメーター:
adviceChain
- adviceChain を設定します。
setAsync
現在、サービスアクティベーター名前空間でのみ公開されています。他のエンドポイントが非同期サポートの恩恵を受けることは明らかではありませんが、AbstractReplyProducingMessageHandler
のサブクラスがListenableFuture<?>
を返す可能性があります。- パラメーター:
async
- 設定する非同期。- 導入:
- 4.3
setComponentName
ハンドラーコンポーネントの名前を設定します。- パラメーター:
componentName
- コンポーネント名。
getObject
- 次で指定:
- インターフェース
FactoryBean<H extends MessageHandler>
のgetObject
createHandlerInternal
createHandler
getObjectType
- 次で指定:
- インターフェース
FactoryBean<H extends MessageHandler>
のgetObjectType
getPreCreationHandlerType
サブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。ハンドラーの作成後、実際の型が使用されます。- 戻り値:
- 型。
isSingleton
public boolean isSingleton()- 次で指定:
- インターフェース
FactoryBean<H extends MessageHandler>
のisSingleton