|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.listener.JobExecutionListenerSupport
public class JobExecutionListenerSupport
| Constructor Summary | |
|---|---|
JobExecutionListenerSupport()
|
|
| Method Summary | |
|---|---|
void |
afterJob(JobExecution jobExecution)
Callback after successful completion of a job. |
void |
beforeJob(JobExecution jobExecution)
Initialise the state of the listener with the JobExecution from
the current scope. |
void |
onError(JobExecution jobExecution,
Throwable e)
Callback on job failure owing to the throwable provided. |
void |
onInterrupt(JobExecution jobExecution)
Callback when a job is interrupted or stopped manually. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobExecutionListenerSupport()
| Method Detail |
|---|
public void afterJob(JobExecution jobExecution)
JobExecutionListener
afterJob in interface JobExecutionListenerjobExecution - the current JobExecutionpublic void beforeJob(JobExecution jobExecution)
JobExecutionListenerJobExecution from
the current scope.
beforeJob in interface JobExecutionListenerjobExecution - the current JobExecution
public void onError(JobExecution jobExecution,
Throwable e)
JobExecutionListener
onError in interface JobExecutionListenerjobExecution - the current JobExecutione - the exception that caused the job to terminatepublic void onInterrupt(JobExecution jobExecution)
JobExecutionListener
onInterrupt in interface JobExecutionListenerjobExecution - the current JobExecution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||