public class StepCompletionListener extends LoggingBean implements org.springframework.batch.core.StepExecutionListener
addStepCompletionListener method. When
the stepCompletion event occurs, that object's appropriate
method is invoked.
StepCompletionEvent
Constructor and Description |
---|
StepCompletionListener() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.core.ExitStatus |
afterStep(org.springframework.batch.core.StepExecution step) |
void |
beforeStep(org.springframework.batch.core.StepExecution step) |
getLogger, setLogger
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution step)
afterStep
in interface org.springframework.batch.core.StepExecutionListener
public void beforeStep(org.springframework.batch.core.StepExecution step)
beforeStep
in interface org.springframework.batch.core.StepExecutionListener