@Component public class DefaultBatchConfigurer extends java.lang.Object implements BatchConfigurer
Modifier | Constructor and Description |
---|---|
protected |
DefaultBatchConfigurer() |
|
DefaultBatchConfigurer(javax.sql.DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
protected JobLauncher |
createJobLauncher() |
protected JobRepository |
createJobRepository() |
JobExplorer |
getJobExplorer() |
JobLauncher |
getJobLauncher() |
JobRepository |
getJobRepository() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initialize() |
void |
setDataSource(javax.sql.DataSource dataSource) |
protected DefaultBatchConfigurer()
public DefaultBatchConfigurer(javax.sql.DataSource dataSource)
@Autowired(required=false) public void setDataSource(javax.sql.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
public JobExplorer getJobExplorer()
getJobExplorer
in interface BatchConfigurer
@PostConstruct public void initialize()
protected JobLauncher createJobLauncher() throws java.lang.Exception
java.lang.Exception
protected JobRepository createJobRepository() throws java.lang.Exception
java.lang.Exception