クラス AbstractSimpleMessageHandlerFactoryBean<H extends MessageHandler>

java.lang.ObjectSE
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<H>
型パラメーター:
H - ターゲットメッセージハンドラー型。
実装されたすべてのインターフェース:
AwareBeanFactoryAwareBeanNameAwareFactoryBean<MessageHandler>ApplicationContextAwareApplicationEventPublisherAware
既知の直属サブクラス
AbstractStandardMessageHandlerFactoryBeanAggregatorFactoryBeanExpressionControlBusFactoryBeanFileWritingMessageHandlerFactoryBeanGroovyControlBusFactoryBeanJpaOutboundGatewayFactoryBean

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
  • フィールドの詳細

    • logger

      protected final Log logger
  • コンストラクターの詳細

    • AbstractSimpleMessageHandlerFactoryBean

      public AbstractSimpleMessageHandlerFactoryBean()
  • メソッドの詳細

    • setApplicationContext

      public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
      次で指定:
      インターフェース ApplicationContextAwaresetApplicationContext 
      例外:
      BeansException
    • setBeanName

      public void setBeanName(StringSE beanName)
      次で指定:
      インターフェース BeanNameAwaresetBeanName 
    • setApplicationEventPublisher

      public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
      次で指定:
      インターフェース ApplicationEventPublisherAwaresetApplicationEventPublisher 
    • setChannelResolver

      public void setChannelResolver(DestinationResolver<MessageChannel> channelResolver)
      ハンドラーのチャネルリゾルバーを設定します。
      パラメーター:
      channelResolver - 設定するチャネルリゾルバー。
    • setOutputChannel

      public void setOutputChannel(MessageChannel outputChannel)
      ハンドラーの出力チャネルを設定します。
      パラメーター:
      outputChannel - 設定する出力チャネル。
    • setOutputChannelName

      public void setOutputChannelName(StringSE outputChannelName)
      ハンドラーの出力チャネル名を設定します。
      パラメーター:
      outputChannelName - 設定する出力チャネル Bean 名。
      導入:
      5.1.4
    • setOrder

      public void setOrder(IntegerSE order)
      ハンドラーがそのチャネルにサブスクライブされる順序を設定します(サブスクライブ可能な場合)。
      パラメーター:
      order - 設定する順序。
    • setBeanFactory

      public void setBeanFactory(BeanFactory beanFactory) throws BeansException
      次で指定:
      インターフェース BeanFactoryAwaresetBeanFactory 
      例外:
      BeansException
    • getBeanFactory

      protected BeanFactory getBeanFactory()
    • setAdviceChain

      public void setAdviceChain(ListSE<Advice> adviceChain)
      AbstractReplyProducingMessageHandler 内で構成するアドバイスチェーンを設定して、このローカルエンドポイントのみにアドバイスします。他のハンドラーの場合、ハンドラー自体の周囲にアドバイスチェーンが適用されます。
      パラメーター:
      adviceChain - 設定する AdviceChain
    • setAsync

      public void setAsync(BooleanSE async)
      現在、サービスアクティベーター名前空間でのみ公開されています。他のエンドポイントが非同期サポートの恩恵を受けることは明らかではありませんが、AbstractReplyProducingMessageHandler のサブクラスが ListenableFuture<?> を返す可能性があります。
      パラメーター:
      async - 設定する非同期。
      導入:
      4.3
    • setComponentName

      public void setComponentName(StringSE componentName)
      ハンドラーコンポーネントの名前を設定します。
      パラメーター:
      componentName - コンポーネント名。
    • getObject

      public H getObject()
      次で指定:
      インターフェース FactoryBean<H extends MessageHandler>getObject 
    • createHandlerInternal

      protected final H createHandlerInternal()
    • createHandler

      protected abstract H createHandler()
    • getObjectType

      public ClassSE<? extends MessageHandler> getObjectType()
      次で指定:
      インターフェース FactoryBean<H extends MessageHandler>getObjectType 
    • getPreCreationHandlerType

      protected ClassSE<? extends MessageHandler> getPreCreationHandlerType()
      サブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。ハンドラーの作成後、実際の型が使用されます。
      戻り値:
      型。
    • isSingleton

      public boolean isSingleton()
      次で指定:
      インターフェース FactoryBean<H extends MessageHandler>isSingleton