public class EventEmittingJobExecutionListener extends Object implements org.springframework.batch.core.JobExecutionListener
JobExecutionEvent
at both the start and end of the job's execution.Constructor and Description |
---|
EventEmittingJobExecutionListener(org.springframework.messaging.MessageChannel output) |
Modifier and Type | Method and Description |
---|---|
void |
afterJob(org.springframework.batch.core.JobExecution jobExecution) |
void |
beforeJob(org.springframework.batch.core.JobExecution jobExecution) |
public EventEmittingJobExecutionListener(org.springframework.messaging.MessageChannel output)
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
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.