@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 |
|---|---|
JobExplorer |
jobExplorer() |
JobLauncher |
jobLauncher() |
AutomaticJobRegistrar |
jobRegistrar() |
JobRepository |
jobRepository() |
org.springframework.transaction.PlatformTransactionManager |
transactionManager() |
getConfigurer, jobBuilders, jobRegistry, setImportMetadata, stepBuilders@Bean public JobRepository jobRepository() throws java.lang.Exception
jobRepository in class AbstractBatchConfigurationjava.lang.Exception@Bean public JobLauncher jobLauncher() throws java.lang.Exception
jobLauncher in class AbstractBatchConfigurationjava.lang.Exception@Bean
public org.springframework.transaction.PlatformTransactionManager transactionManager()
throws java.lang.Exception
transactionManager in class AbstractBatchConfigurationjava.lang.Exception@Bean public JobExplorer jobExplorer() throws java.lang.Exception
jobExplorer in class AbstractBatchConfigurationjava.lang.Exception@Bean public AutomaticJobRegistrar jobRegistrar() throws java.lang.Exception
java.lang.Exception