クラス TaskBatchExecutionListenerFactoryBean
java.lang.ObjectSE
org.springframework.cloud.task.batch.configuration.TaskBatchExecutionListenerFactoryBean
- 実装されたすべてのインターフェース:
org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>
public class TaskBatchExecutionListenerFactoryBean
extends ObjectSE
implements org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>
TaskBatchExecutionListener
の場合は FactoryBean
です。DataSource
SE が使用可能な場合は、jdbc ベースのリスナーを提供します。それ以外の場合は、マップベースの実装を使用するリスナーを構築します。- 作成者:
- Michael Minella
フィールドサマリー
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
コンストラクターのサマリー
コンストラクター説明TaskBatchExecutionListenerFactoryBean
(DataSourceSE dataSource, TaskExplorer taskExplorer) TaskBatchExecutionListenerFactoryBean を初期化し、tablePrefix をTaskProperties.DEFAULT_TABLE_PREFIX
にデフォルト設定します。TaskBatchExecutionListenerFactoryBean
(DataSourceSE dataSource, TaskExplorer taskExplorer, StringSE tablePrefix) TaskBatchExecutionListenerFactoryBean を初期化します。メソッドのサマリー
コンストラクターの詳細
TaskBatchExecutionListenerFactoryBean
TaskBatchExecutionListenerFactoryBean を初期化し、tablePrefix をTaskProperties.DEFAULT_TABLE_PREFIX
にデフォルト設定します。- パラメーター:
dataSource
- TaskBatchExecutionListener に使用する dataSource。taskExplorer
- the taskExplorer to use for the TaskBatchExecutionListener.
TaskBatchExecutionListenerFactoryBean
public TaskBatchExecutionListenerFactoryBean(DataSourceSE dataSource, TaskExplorer taskExplorer, StringSE tablePrefix) TaskBatchExecutionListenerFactoryBean を初期化します。- パラメーター:
dataSource
- the dataSource to use for the TaskBatchExecutionListener.taskExplorer
- the taskExplorer to use for the TaskBatchExecutionListener.tablePrefix
- TaskBatchExecutionListener がアクセスするタスクテーブルのプレフィックス。
メソッドの詳細
getObject
- 次で指定:
- インターフェース
org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>
のgetObject
- 例外:
ExceptionSE
getObjectType
- 次で指定:
- インターフェース
org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>
のgetObjectType
isSingleton
public boolean isSingleton()- 次で指定:
- インターフェース
org.springframework.beans.factory.FactoryBean<TaskBatchExecutionListener>
のisSingleton