public abstract class AbstractSimpleMessageHandlerFactoryBean<H extends MessageHandler> extends ObjectSE implements FactoryBean<MessageHandler>, ApplicationContextAware, BeanFactoryAware, BeanNameAware, ApplicationEventPublisherAware
MessageHandler
を作成および構成するためのファクトリ Bean。修飾子と型 | フィールドと説明 |
---|---|
protected Log | logger |
OBJECT_TYPE_ATTRIBUTE
コンストラクターと説明 |
---|
AbstractSimpleMessageHandlerFactoryBean() |
修飾子と型 | メソッドと説明 |
---|---|
protected abstract H | createHandler() |
protected H | createHandlerInternal() |
protected BeanFactory | getBeanFactory() |
H | getObject() |
ClassSE<? extends MessageHandler> | getObjectType() |
protected ClassSE<? extends MessageHandler> | getPreCreationHandlerType() サブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。 |
boolean | isSingleton() |
void | setAdviceChain(ListSE<Advice> adviceChain) AbstractReplyProducingMessageHandler 内で構成するアドバイスチェーンを設定して、このローカルエンドポイントのみにアドバイスします。 |
void | setApplicationContext(ApplicationContext applicationContext) |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void | setAsync(BooleanSE async) 現在、サービスアクティベーター名前空間でのみ公開されています。 |
void | setBeanFactory(BeanFactory beanFactory) |
void | setBeanName(StringSE beanName) |
void | setChannelResolver(DestinationResolver<MessageChannel> channelResolver) ハンドラーのチャネルリゾルバーを設定します。 |
void | setComponentName(StringSE componentName) ハンドラーコンポーネントの名前を設定します。 |
void | setOrder(IntegerSE order) ハンドラーがそのチャネルにサブスクライブされる順序を設定します(サブスクライブ可能な場合)。 |
void | setOutputChannel(MessageChannel outputChannel) ハンドラーの出力チャネルを設定します。 |
void | setOutputChannelName(StringSE outputChannelName) ハンドラーの出力チャネル名を設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected final Log logger
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
ApplicationContextAware
の setApplicationContext
BeansException
public void setBeanName(StringSE beanName)
BeanNameAware
の setBeanName
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
ApplicationEventPublisherAware
の setApplicationEventPublisher
public void setChannelResolver(DestinationResolver<MessageChannel> channelResolver)
channelResolver
- 設定するチャネルリゾルバー。public void setOutputChannel(MessageChannel outputChannel)
outputChannel
- 設定する出力チャネル。public void setOutputChannelName(StringSE outputChannelName)
outputChannelName
- 設定する出力チャネル Bean 名。public void setOrder(IntegerSE order)
order
- 設定する順序。public void setBeanFactory(BeanFactory beanFactory) throws BeansException
BeanFactoryAware
の setBeanFactory
BeansException
protected BeanFactory getBeanFactory()
public void setAdviceChain(ListSE<Advice> adviceChain)
AbstractReplyProducingMessageHandler
内で構成するアドバイスチェーンを設定して、このローカルエンドポイントのみにアドバイスします。他のハンドラーの場合、ハンドラー自体の周囲にアドバイスチェーンが適用されます。adviceChain
- adviceChain を設定します。public void setAsync(BooleanSE async)
AbstractReplyProducingMessageHandler
のサブクラスが ListenableFuture<?>
を返す可能性があります。async
- 設定する非同期。public void setComponentName(StringSE componentName)
componentName
- コンポーネント名。public H getObject()
FactoryBean<MessageHandler>
の getObject
protected final H createHandlerInternal()
protected abstract H createHandler()
public ClassSE<? extends MessageHandler> getObjectType()
FactoryBean<MessageHandler>
の getObjectType
protected ClassSE<? extends MessageHandler> getPreCreationHandlerType()
public boolean isSingleton()
FactoryBean<MessageHandler>
の isSingleton