クラス 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 です。DataSourceSE が使用可能な場合は、jdbc ベースのリスナーを提供します。それ以外の場合は、マップベースの実装を使用するリスナーを構築します。
作成者:
Michael Minella
  • コンストラクターの詳細

    • TaskBatchExecutionListenerFactoryBean

      public TaskBatchExecutionListenerFactoryBean(DataSourceSE dataSource, TaskExplorer taskExplorer)
      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 がアクセスするタスクテーブルのプレフィックス。
  • メソッドの詳細