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

java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,T>
型パラメーター:
S - ターゲット IntegrationComponentSpec 実装型。
T - ターゲット型。
実装済みのインターフェース一覧:
DisposableBean, FactoryBean<T>, InitializingBean, Lifecycle, Phased, SmartLifecycle
既知の直属サブクラス
AbstractConnectionFactorySpec, BroadcastPublishSubscribeSpec, EndpointSpec, JmsDestinationAccessorSpec, JmsOutboundGatewaySpec.ReplyContainerSpec, KafkaMessageListenerContainerSpec, KafkaTemplateSpec, MessageChannelSpec, MessageHandlerSpec, MessageListenerContainerSpec, MessageProcessorSpec, MessageProducerSpec, MessageSourceSpec, MessagingGatewaySpec, PollerSpec, StoredProcExecutorSpec, WireTapSpec

@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 org.apache.commons.logging.Log logger
    • target

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

    • IntegrationComponentSpec

      public IntegrationComponentSpec()
  • 方法の詳細

    • id

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

      public final @Nullable StringSE getId()
    • getObjectType

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

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

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

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

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

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

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

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

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

      public int getPhase()
      次で指定:
      インターフェース Phased 内の getPhase 
      次で指定:
      インターフェース SmartLifecycle 内の getPhase 
    • _this

      protected final S _this()
    • doGet

      protected T doGet()