|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.listener.CompositeJobExecutionListener
public class CompositeJobExecutionListener
| Constructor Summary | |
|---|---|
CompositeJobExecutionListener()
|
|
| Method Summary | |
|---|---|
void |
afterJob(JobExecution jobExecution)
Call the registered listeners in reverse order, respecting and prioritising those that implement Ordered. |
void |
beforeJob(JobExecution jobExecution)
Call the registered listeners in order, respecting and prioritising those that implement Ordered. |
void |
register(JobExecutionListener jobExecutionListener)
Register additional listener. |
void |
setListeners(java.util.List<? extends JobExecutionListener> listeners)
Public setter for the listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeJobExecutionListener()
| Method Detail |
|---|
public void setListeners(java.util.List<? extends JobExecutionListener> listeners)
listeners - public void register(JobExecutionListener jobExecutionListener)
jobExecutionListener - public void afterJob(JobExecution jobExecution)
Ordered.
afterJob in interface JobExecutionListenerjobExecution - the current JobExecutionJobExecutionListener.afterJob(org.springframework.batch.core.JobExecution)public void beforeJob(JobExecution jobExecution)
Ordered.
beforeJob in interface JobExecutionListenerjobExecution - the current JobExecutionJobExecutionListener.beforeJob(org.springframework.batch.core.JobExecution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||