|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.listener.CompositeStepExecutionListener
public class CompositeStepExecutionListener
| Constructor Summary | |
|---|---|
CompositeStepExecutionListener()
|
|
| Method Summary | |
|---|---|
ExitStatus |
afterStep(StepExecution stepExecution)
Call the registered listeners in reverse order, respecting and prioritising those that implement Ordered. |
void |
beforeStep(StepExecution stepExecution)
Call the registered listeners in order, respecting and prioritising those that implement Ordered. |
void |
register(StepExecutionListener stepExecutionListener)
Register additional listener. |
void |
setListeners(StepExecutionListener[] 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 CompositeStepExecutionListener()
| Method Detail |
|---|
public void setListeners(StepExecutionListener[] listeners)
listeners - public void register(StepExecutionListener stepExecutionListener)
stepExecutionListener - public ExitStatus afterStep(StepExecution stepExecution)
Ordered.
afterStep in interface StepExecutionListenerExitStatus to combine with the normal value. Return
null to leave the old value unchanged.StepExecutionListener.afterStep(StepExecution)public void beforeStep(StepExecution stepExecution)
Ordered.
beforeStep in interface StepExecutionListenerStepExecutionListener.beforeStep(StepExecution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||