@Configuration
@ConditionalOnBean(value=org.springframework.batch.core.Job.class)
@ConditionalOnProperty(name={"spring.cloud.task.batch.listener.enable","spring.cloud.task.batch.listener.enabled"},
havingValue="true",
matchIfMissing=true)
public class TaskBatchAutoConfiguration
extends Object
TaskBatchExecutionListener.
The spring.cloud.task.batch.listener.enable is deprecated,
spring.cloud.task.batch.listener.enabled should be used.| Modifier and Type | Class and Description |
|---|---|
static class |
TaskBatchAutoConfiguration.TaskBatchExecutionListenerAutoconfiguration
Auto configuration for
TaskBatchExecutionListener. |
| Constructor and Description |
|---|
TaskBatchAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TaskBatchExecutionListenerBeanPostProcessor |
batchTaskExecutionListenerBeanPostProcessor() |
@Bean @ConditionalOnMissingBean public TaskBatchExecutionListenerBeanPostProcessor batchTaskExecutionListenerBeanPostProcessor()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.