クラス IntegrationComponentSpec<S extends IntegrationComponentSpec<S,T>,T>

java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,T>
型パラメーター:
S - ターゲット IntegrationComponentSpec 実装型。
T - ターゲット型。
実装されたすべてのインターフェース:
DisposableBeanFactoryBean<T>InitializingBeanLifecyclePhasedSmartLifecycle
既知の直属サブクラス
AbstractConnectionFactorySpecBroadcastPublishSubscribeSpecEndpointSpecJmsDestinationAccessorSpecJmsOutboundGatewaySpec.ReplyContainerSpecKafkaMessageListenerContainerSpecKafkaTemplateSpecMessageChannelSpecMessageHandlerSpecMessageListenerContainerSpecMessageProcessorSpecMessageProducerSpecMessageSourceSpecMessagingGatewaySpecPollerSpecWireTapSpec

@IntegrationDsl public abstract class IntegrationComponentSpec<S extends IntegrationComponentSpec<S,T>,T> extends ObjectSE implements FactoryBean<T>, InitializingBean, DisposableBean, SmartLifecycle
共通の Builder 抽象化。Bean 定義として使用する場合は、FactoryBean として扱う必要があるため、その getObject() メソッドをターゲット構成で呼び出してはなりません。
導入:
5.0
作成者:
Artem Bilan
  • フィールドの詳細

    • PARSER

      protected static final SpelExpressionParser PARSER
    • logger

      protected final Log logger
    • target

      protected volatile T target
  • コンストラクターの詳細

    • IntegrationComponentSpec

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

    • id

      protected S id(@Nullable StringSE idToSet)
      コンポーネント識別子を構成します。このコンポーネントのアプリケーションコンテキストに Bean を登録するための beanName として使用されます。
      パラメーター:
      idToSet - ID。
      戻り値:
      スペック。
    • getId

      @Nullable public final StringSE getId()
    • getObjectType

      public ClassSE<?> getObjectType()
      次で指定:
      インターフェース FactoryBean<S extends IntegrationComponentSpec<S,T>>getObjectType 
    • getObject

      @NonNull public T getObject()
      !!! このメソッドはターゲット構成から呼び出さないでください。
      次で指定:
      インターフェース FactoryBean<S extends IntegrationComponentSpec<S,T>>getObject 
      戻り値:
      このファクトリ Bean によってサポートされるオブジェクト。
    • afterPropertiesSet

      public void afterPropertiesSet()
      次で指定:
      インターフェース InitializingBeanafterPropertiesSet 
    • destroy

      public void destroy()
      次で指定:
      インターフェース DisposableBeandestroy 
    • start

      public void start()
      次で指定:
      インターフェース Lifecyclestart 
    • stop

      public void stop()
      次で指定:
      インターフェース Lifecyclestop 
    • isRunning

      public boolean isRunning()
      次で指定:
      インターフェース LifecycleisRunning 
    • isAutoStartup

      public boolean isAutoStartup()
      次で指定:
      インターフェース SmartLifecycleisAutoStartup 
    • stop

      public void stop(RunnableSE callback)
      次で指定:
      インターフェース SmartLifecyclestop 
    • getPhase

      public int getPhase()
      次で指定:
      インターフェース PhasedgetPhase 
      次で指定:
      インターフェース SmartLifecyclegetPhase 
    • _this

      protected final S _this()
    • doGet

      protected T doGet()