クラス EventDrivenConsumer
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.EventDrivenConsumer
- 実装済みのインターフェース一覧:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, ComponentSourceAware, ExpressionCapable, IntegrationConsumer, NamedComponent, ManageableLifecycle, ManageableSmartLifecycle
MessageHandler 実装を SubscribableChannel に接続するメッセージエンドポイント。- 作成者:
- Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
フィールド概要
クラス AbstractEndpoint から継承されたフィールド
lifecycleLockクラス IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明protected voiddoStart()サブクラスは、開始動作でこのメソッドを実装する必要があります。protected voiddoStop()サブクラスは、停止動作でこのメソッドを実装する必要があります。コンシューマーのハンドラーを返します。入力チャンネルを返します。@Nullable MessageChannel出力チャネルを返します(null の場合もあります)。クラス AbstractEndpoint から継承されたメソッド
destroy, doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, onInit, setAutoStartup, setPhase, setRole, start, stop, stopクラス IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース NamedComponent から継承されたメソッド
getBeanName, getComponentNameインターフェース SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
EventDrivenConsumer
方法の詳細
getInputChannel
インターフェースからコピーされた説明:IntegrationConsumer入力チャンネルを返します。- 次で指定:
- インターフェース
IntegrationConsumer内のgetInputChannel - 戻り値:
- 入力チャンネル。
getOutputChannel
インターフェースからコピーされた説明:IntegrationConsumer出力チャネルを返します(null の場合もあります)。- 次で指定:
- インターフェース
IntegrationConsumer内のgetOutputChannel - 戻り値:
- 出力チャンネル。
getHandler
インターフェースからコピーされた説明:IntegrationConsumerコンシューマーのハンドラーを返します。- 次で指定:
- インターフェース
IntegrationConsumer内のgetHandler - 戻り値:
- ハンドラー。
getComponentType
- 次で指定:
- インターフェース
NamedComponent内のgetComponentType
doStart
protected void doStart()クラスからコピーされた説明:AbstractEndpointサブクラスは、開始動作でこのメソッドを実装する必要があります。このメソッドは、AbstractEndpoint.lifecycleLockを保持しているときに呼び出されます。- 次で指定:
- クラス
AbstractEndpointのdoStart
doStop
protected void doStop()クラスからコピーされた説明:AbstractEndpointサブクラスは、停止動作でこのメソッドを実装する必要があります。このメソッドは、AbstractEndpoint.lifecycleLockを保持しているときに呼び出されます。- 次で指定:
- クラス
AbstractEndpointのdoStop