@ConditionalOnMissingBean(value=org.springframework.batch.core.configuration.annotation.BatchConfigurer.class) @Configuration public class TaskExecutorBatchConfigurer extends Object implements org.springframework.batch.core.configuration.annotation.BatchConfigurer
DefaultBatchConfigurer, it only references a
TaskExecutor used in the
SimpleJobLauncher for starting jobs asynchronously.| Constructor and Description |
|---|
TaskExecutorBatchConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.batch.core.repository.JobRepository |
createJobRepository() |
org.springframework.batch.core.explore.JobExplorer |
getJobExplorer() |
org.springframework.batch.core.launch.JobLauncher |
getJobLauncher() |
org.springframework.batch.core.repository.JobRepository |
getJobRepository() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initialize() |
void |
setDataSource(DataSource dataSource) |
@Autowired public void setDataSource(DataSource dataSource)
public org.springframework.batch.core.repository.JobRepository getJobRepository()
getJobRepository in interface org.springframework.batch.core.configuration.annotation.BatchConfigurerpublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in interface org.springframework.batch.core.configuration.annotation.BatchConfigurerpublic org.springframework.batch.core.launch.JobLauncher getJobLauncher()
getJobLauncher in interface org.springframework.batch.core.configuration.annotation.BatchConfigurerpublic org.springframework.batch.core.explore.JobExplorer getJobExplorer()
throws Exception
getJobExplorer in interface org.springframework.batch.core.configuration.annotation.BatchConfigurerExceptionprotected org.springframework.batch.core.repository.JobRepository createJobRepository()
throws Exception
Exception@PostConstruct public void initialize() throws Exception
ExceptionCopyright © 2018 codecentric AG. All rights reserved.