@Configuration
@ConditionalOnClass(value={org.springframework.batch.core.launch.JobLauncher.class,javax.sql.DataSource.class,org.springframework.jdbc.core.JdbcOperations.class})
@ConditionalOnBean(value=org.springframework.batch.core.launch.JobLauncher.class)
@EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.batch.BatchProperties.class)
public class BatchAutoConfigurationBefore
extends Object
| Constructor and Description |
|---|
BatchAutoConfigurationBefore(org.springframework.boot.autoconfigure.batch.BatchProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner |
jobLauncherCommandLineRunner(org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.explore.JobExplorer jobExplorer) |
public BatchAutoConfigurationBefore(org.springframework.boot.autoconfigure.batch.BatchProperties properties)
@Bean
@ConditionalOnMissingBean
@ConditionalOnProperty(prefix="spring.batch.job",
name="enabled",
havingValue="true",
matchIfMissing=true)
public org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner jobLauncherCommandLineRunner(org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.explore.JobExplorer jobExplorer)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.