Class JobExecutionListenerSupport
java.lang.Object
org.springframework.batch.core.listener.JobExecutionListenerSupport
- All Implemented Interfaces:
JobExecutionListener
Deprecated.
- Author:
- Dave Syer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterJob
(JobExecution jobExecution) Deprecated.Callback after completion of a job.void
beforeJob
(JobExecution jobExecution) Deprecated.Callback before a job executes.
-
Constructor Details
-
JobExecutionListenerSupport
public JobExecutionListenerSupport()Deprecated.
-
-
Method Details
-
afterJob
Deprecated.Description copied from interface:JobExecutionListener
Callback 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:
afterJob
in interfaceJobExecutionListener
- Parameters:
jobExecution
- the currentJobExecution
-
beforeJob
Deprecated.Description copied from interface:JobExecutionListener
Callback before a job executes.- Specified by:
beforeJob
in interfaceJobExecutionListener
- Parameters:
jobExecution
- the currentJobExecution
-
JobExecutionListener