@Component public class DefaultBatchConfigurer extends Object implements BatchConfigurer
Modifier | Constructor and Description |
---|---|
protected |
DefaultBatchConfigurer() |
|
DefaultBatchConfigurer(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
protected JobRepository |
createJobRepository() |
JobLauncher |
getJobLauncher() |
JobRepository |
getJobRepository() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initialize() |
void |
setDataSource(DataSource dataSource) |
protected DefaultBatchConfigurer()
public DefaultBatchConfigurer(DataSource dataSource)
@Autowired public void setDataSource(DataSource dataSource)
public JobRepository getJobRepository()
getJobRepository
in interface BatchConfigurer
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager
in interface BatchConfigurer
public JobLauncher getJobLauncher()
getJobLauncher
in interface BatchConfigurer
@PostConstruct public void initialize() throws BatchConfigurationException
BatchConfigurationException
protected JobRepository createJobRepository() throws Exception
Exception
Copyright © 2014 Pivotal. All rights reserved.