Class BatchJobLauncherAutoConfiguration
java.lang.Object
org.springframework.boot.batch.autoconfigure.BatchJobLauncherAutoConfiguration
@AutoConfiguration(after=BatchAutoConfiguration.class)
@ConditionalOnClass(org.springframework.batch.core.launch.JobOperator.class)
@ConditionalOnBean(org.springframework.batch.core.launch.JobOperator.class)
@EnableConfigurationProperties(BatchProperties.class)
public final class BatchJobLauncherAutoConfiguration
extends Object
Auto-configuration for Spring Batch. If a single job is
found in the context, it will be executed on startup.
Disable this behavior with spring.batch.job.enabled=false).
If multiple jobs are found, a job name to execute on startup can be supplied by the User with : spring.batch.job.name=job1. In this case the Runner will first find jobs registered as Beans, then those in the existing JobRegistry.
- Since:
- 4.0.0
- Author:
- Dave Syer, EddĂș MelĂ©ndez, Kazuki Shimizu, Mahmoud Ben Hassine, Lars Uffmann, Lasse Wulff, Yanming Zhou
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
BatchJobLauncherAutoConfigurationpublic BatchJobLauncherAutoConfiguration()
 
-