Class JobExecutionListenerSupport
java.lang.Object
org.springframework.batch.core.listener.JobExecutionListenerSupport
- All Implemented Interfaces:
JobExecutionListener
Deprecated.
- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterJob(JobExecution jobExecution) Deprecated.Callback after completion of a job.voidbeforeJob(JobExecution jobExecution) Deprecated.Callback before a job executes.
-
Constructor Details
-
JobExecutionListenerSupport
public JobExecutionListenerSupport()Deprecated.
-
-
Method Details
-
afterJob
Deprecated.Description copied from interface:JobExecutionListenerCallback after completion of a job. Called after both successful and failed executions. To perform logic on a particular status, useif (jobExecution.getStatus() == BatchStatus.X).- Specified by:
afterJobin interfaceJobExecutionListener- Parameters:
jobExecution- the currentJobExecution
-
beforeJob
Deprecated.Description copied from interface:JobExecutionListenerCallback before a job executes.- Specified by:
beforeJobin interfaceJobExecutionListener- Parameters:
jobExecution- the currentJobExecution
-
JobExecutionListener