@Component public class BasicBatchConfigurer extends Object
Constructor and Description |
---|
BasicBatchConfigurer(DataSource dataSource) |
BasicBatchConfigurer(DataSource dataSource,
EntityManagerFactory entityManagerFactory) |
Modifier and Type | Method and Description |
---|---|
protected JobRepository |
createJobRepository() |
protected PlatformTransactionManager |
createTransactionManager() |
JobLauncher |
getJobLauncher() |
JobRepository |
getJobRepository() |
PlatformTransactionManager |
getTransactionManager() |
void |
initialize() |
public BasicBatchConfigurer(DataSource dataSource)
public BasicBatchConfigurer(DataSource dataSource, EntityManagerFactory entityManagerFactory)
public JobRepository getJobRepository()
public PlatformTransactionManager getTransactionManager()
public JobLauncher getJobLauncher()
@PostConstruct public void initialize() throws Exception
Exception
protected JobRepository createJobRepository() throws Exception
Exception
protected PlatformTransactionManager createTransactionManager()
Copyright © 2014. All rights reserved.