|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(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(List<? extends JobExecutionListener> listeners)
listeners
- public void register(JobExecutionListener jobExecutionListener)
jobExecutionListener
- public void afterJob(JobExecution jobExecution)
Ordered
.
afterJob
in interface JobExecutionListener
jobExecution
- the current JobExecution
JobExecutionListener.afterJob(org.springframework.batch.core.JobExecution)
public void beforeJob(JobExecution jobExecution)
Ordered
.
beforeJob
in interface JobExecutionListener
jobExecution
- the current JobExecution
JobExecutionListener.beforeJob(org.springframework.batch.core.JobExecution)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |