public class SimpleXdStepExecutionListener extends BatchJobListener<org.springframework.batch.core.StepExecution> implements org.springframework.batch.core.StepExecutionListener
Constructor and Description |
---|
SimpleXdStepExecutionListener(org.springframework.messaging.SubscribableChannel stepExecutionEventsChannel,
org.springframework.messaging.SubscribableChannel aggregatedEventsChannel) |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.core.ExitStatus |
afterStep(org.springframework.batch.core.StepExecution stepExecution) |
void |
beforeStep(org.springframework.batch.core.StepExecution stepExecution) |
publish, publishWithThrowableHeader
public SimpleXdStepExecutionListener(org.springframework.messaging.SubscribableChannel stepExecutionEventsChannel, org.springframework.messaging.SubscribableChannel aggregatedEventsChannel)
public void beforeStep(org.springframework.batch.core.StepExecution stepExecution)
beforeStep
in interface org.springframework.batch.core.StepExecutionListener
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution stepExecution)
afterStep
in interface org.springframework.batch.core.StepExecutionListener