public class GeneratingTradeResettingListener extends StepExecutionListenerSupport implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
GeneratingTradeResettingListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ExitStatus |
afterStep(StepExecution stepExecution)
Give a listener a chance to modify the exit status from a step.
|
void |
setReader(GeneratingTradeItemReader reader) |
beforeSteppublic ExitStatus afterStep(StepExecution stepExecution)
StepExecutionListenerExitStatus.and(ExitStatus).
Called after execution of step's processing logic (both successful or
failed). Throwing exception in this method has no effect, it will only be
logged.afterStep in interface StepExecutionListenerafterStep in class StepExecutionListenerSupportExitStatus to combine with the normal value. Return
null to leave the old value unchanged.public void setReader(GeneratingTradeItemReader reader)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception