public class JobListenerAdapter extends java.lang.Object implements JobExecutionListener
JobListener
to
a JobExecutionListener
.Constructor and Description |
---|
JobListenerAdapter(javax.batch.api.listener.JobListener delegate) |
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.
|
public JobListenerAdapter(javax.batch.api.listener.JobListener delegate)
delegate
- to be delegated topublic void beforeJob(JobExecution jobExecution)
JobExecutionListener
beforeJob
in interface JobExecutionListener
jobExecution
- the current JobExecution
public void afterJob(JobExecution jobExecution)
JobExecutionListener
afterJob
in interface JobExecutionListener
jobExecution
- the current JobExecution