public class SimpleXdJobExecutionListener extends BatchJobListener<org.springframework.batch.core.JobExecution> implements org.springframework.batch.core.JobExecutionListener
Constructor and Description |
---|
SimpleXdJobExecutionListener(org.springframework.messaging.SubscribableChannel jobExecutionEventsChannel,
org.springframework.messaging.SubscribableChannel aggregatedEventsChannel) |
Modifier and Type | Method and Description |
---|---|
void |
afterJob(org.springframework.batch.core.JobExecution jobExecution) |
void |
beforeJob(org.springframework.batch.core.JobExecution jobExecution) |
publish, publishWithThrowableHeader
public SimpleXdJobExecutionListener(org.springframework.messaging.SubscribableChannel jobExecutionEventsChannel, org.springframework.messaging.SubscribableChannel aggregatedEventsChannel)
public void beforeJob(org.springframework.batch.core.JobExecution jobExecution)
beforeJob
in interface org.springframework.batch.core.JobExecutionListener
public void afterJob(org.springframework.batch.core.JobExecution jobExecution)
afterJob
in interface org.springframework.batch.core.JobExecutionListener