public interface JobExecutionListener
Job.
Implementations can be stateful if they are careful to either ensure thread
safety, or to use one instance of a listener per job, assuming that job
instances themselves are not used by more than one thread.| Modifier and Type | Method and Description |
|---|---|
void |
afterJob(JobExecution jobExecution)
Callback after completion of a job.
|
void |
beforeJob(JobExecution jobExecution)
Callback before a job executes.
|
void beforeJob(JobExecution jobExecution)
jobExecution - the current JobExecutionvoid afterJob(JobExecution jobExecution)
jobExecution - the current JobExecution