@Configuration public class ModularBatchConfiguration extends AbstractBatchConfiguration
Configuration class providing common structure for enabling and using Spring Batch. Customization is
available by implementing the BatchConfigurer interface.EnableBatchProcessing| Constructor and Description |
|---|
ModularBatchConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
JobLauncher |
jobLauncher() |
AutomaticJobRegistrar |
jobRegistrar() |
JobRepository |
jobRepository() |
org.springframework.transaction.PlatformTransactionManager |
transactionManager() |
getConfigurer, jobBuilders, jobRegistry, setImportMetadata, stepBuilders@Bean public JobRepository jobRepository() throws Exception
jobRepository in class AbstractBatchConfigurationException@Bean public JobLauncher jobLauncher() throws Exception
jobLauncher in class AbstractBatchConfigurationException@Bean
public org.springframework.transaction.PlatformTransactionManager transactionManager()
throws Exception
transactionManager in class AbstractBatchConfigurationException@Bean public AutomaticJobRegistrar jobRegistrar() throws Exception
ExceptionCopyright © 2014. All rights reserved.