@Configuration @ConditionalOnClass(value=org.springframework.cloud.stream.annotation.EnableBinding.class) @EnableBinding(value=BatchEventAutoConfiguration.BatchEventsChannels.class) @EnableConfigurationProperties(value=TaskEventProperties.class) @ConditionalOnMissingBean(name="jobExecutionEventsListener") public static class BatchEventAutoConfiguration.JobExecutionListenerConfiguration extends Object
| Constructor and Description |
|---|
JobExecutionListenerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EventEmittingChunkListener |
chunkEventsListener() |
org.springframework.batch.core.ItemProcessListener |
itemProcessEventsListener() |
org.springframework.batch.core.ItemReadListener |
itemReadEventsListener() |
org.springframework.batch.core.ItemWriteListener |
itemWriteEventsListener() |
org.springframework.batch.core.JobExecutionListener |
jobExecutionEventsListener() |
org.springframework.batch.core.SkipListener |
skipEventsListener() |
org.springframework.batch.core.StepExecutionListener |
stepExecutionEventsListener() |
@Bean
@Lazy
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.job-execution",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.batch.core.JobExecutionListener jobExecutionEventsListener()
@Bean
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.step-execution",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.batch.core.StepExecutionListener stepExecutionEventsListener()
@Bean
@Lazy
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.chunk",
name="enabled",
havingValue="true",
matchIfMissing=true)
public EventEmittingChunkListener chunkEventsListener()
@Bean
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.item-read",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.batch.core.ItemReadListener itemReadEventsListener()
@Bean
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.item-write",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.batch.core.ItemWriteListener itemWriteEventsListener()
@Bean
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.item-process",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.batch.core.ItemProcessListener itemProcessEventsListener()
@Bean
@ConditionalOnProperty(prefix="spring.cloud.task.batch.events.skip",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.batch.core.SkipListener skipEventsListener()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.