@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 BatchConfigurerpublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in interface BatchConfigurerpublic JobLauncher getJobLauncher()
getJobLauncher in interface BatchConfigurer@PostConstruct public void initialize() throws Exception
Exceptionprotected JobRepository createJobRepository() throws Exception
ExceptionCopyright © 2014. All rights reserved.