クラス AbstractPulsarMessageContainer
java.lang.ObjectSE
org.springframework.pulsar.core.AbstractPulsarMessageContainer
- 実装されたすべてのインターフェース:
Aware
、BeanNameAware
、DisposableBean
、ApplicationContextAware
、ApplicationEventPublisherAware
、Lifecycle
、Phased
、SmartLifecycle
public abstract class AbstractPulsarMessageContainer
extends ObjectSE
implements ApplicationEventPublisherAware, BeanNameAware, ApplicationContextAware, SmartLifecycle, DisposableBean
さまざまなコンテナー実装の基本クラス。
- 作成者:
- Soby Chacko
フィールドサマリー
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明protected abstract void
doStart()
protected abstract void
doStop()
protected ApplicationContext
イベントの発行元を取得します。Bean 名を返します。int
getPhase()
void
setApplicationContext
(ApplicationContext applicationContext) void
setApplicationEventPublisher
(ApplicationEventPublisher applicationEventPublisher) void
setBeanName
(StringSE name) void
setPhase
(int phase) クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.factory.DisposableBean から継承されたメソッド
destroy
インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isAutoStartup, stop
フィールドの詳細
logger
autoStartup
protected boolean autoStartuprunning
protected volatile boolean running
コンストラクターの詳細
AbstractPulsarMessageContainer
public AbstractPulsarMessageContainer()
メソッドの詳細
setApplicationEventPublisher
- 次で指定:
- インターフェース
ApplicationEventPublisherAware
のsetApplicationEventPublisher
getApplicationEventPublisher
イベントの発行元を取得します。- 戻り値:
- パブリッシャー
setBeanName
- 次で指定:
- インターフェース
BeanNameAware
のsetBeanName
getBeanName
Bean 名を返します。- 戻り値:
- Bean 名。
setApplicationContext
- 次で指定:
- インターフェース
ApplicationContextAware
のsetApplicationContext
- 例外:
BeansException
getApplicationContext
setPhase
public void setPhase(int phase) getPhase
public int getPhase()- 次で指定:
- インターフェース
Phased
のgetPhase
- 次で指定:
- インターフェース
SmartLifecycle
のgetPhase
doStart
protected abstract void doStart()doStop
protected abstract void doStop()