Class TaskBatchAutoConfiguration
java.lang.Object
org.springframework.cloud.task.batch.configuration.TaskBatchAutoConfiguration
@AutoConfiguration
@ConditionalOnBean({org.springframework.batch.core.Job.class,TaskLifecycleListener.class})
@ConditionalOnProperty(name={"spring.cloud.task.batch.listener.enable","spring.cloud.task.batch.listener.enabled"},
havingValue="true",
matchIfMissing=true)
public class TaskBatchAutoConfiguration
extends Object
Provides auto configuration for the
TaskBatchExecutionListener
.
The spring.cloud.task.batch.listener.enable is deprecated,
spring.cloud.task.batch.listener.enabled should be used.- Author:
- Michael Minella
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
TaskBatchAutoConfiguration
public TaskBatchAutoConfiguration()
-
-
Method Details
-
batchTaskExecutionListenerBeanPostProcessor
@Bean @ConditionalOnMissingBean public static TaskBatchExecutionListenerBeanPostProcessor batchTaskExecutionListenerBeanPostProcessor()
-