クラス EventEmittingJobExecutionListener
java.lang.ObjectSE
org.springframework.cloud.task.batch.listener.EventEmittingJobExecutionListener
- 実装されたすべてのインターフェース:
org.springframework.batch.core.JobExecutionListener
,org.springframework.core.Ordered
public class EventEmittingJobExecutionListener
extends ObjectSE
implements org.springframework.batch.core.JobExecutionListener, org.springframework.core.Ordered
ジョブ実行の開始時と終了時の両方で
JobExecutionEvent
を提供します。- 作成者:
- Michael Minella, Glenn Renfro, Ali Shahbour
フィールドサマリー
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターのサマリー
コンストラクター説明EventEmittingJobExecutionListener
(MessagePublisher messagePublisher, int order, TaskEventProperties properties) EventEmittingJobExecutionListener
(MessagePublisher messagePublisher, TaskEventProperties properties) メソッドのサマリー
コンストラクターの詳細
EventEmittingJobExecutionListener
public EventEmittingJobExecutionListener(MessagePublisher messagePublisher, TaskEventProperties properties) EventEmittingJobExecutionListener
public EventEmittingJobExecutionListener(MessagePublisher messagePublisher, int order, TaskEventProperties properties)
メソッドの詳細
beforeJob
public void beforeJob(org.springframework.batch.core.JobExecution jobExecution) - 次で指定:
- インターフェース
org.springframework.batch.core.JobExecutionListener
のbeforeJob
afterJob
public void afterJob(org.springframework.batch.core.JobExecution jobExecution) - 次で指定:
- インターフェース
org.springframework.batch.core.JobExecutionListener
のafterJob
getOrder
public int getOrder()- 次で指定:
- インターフェース
org.springframework.core.Ordered
のgetOrder