@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 AbstractBatchConfiguration
Exception
@Bean public JobLauncher jobLauncher() throws Exception
jobLauncher
in class AbstractBatchConfiguration
Exception
@Bean public org.springframework.transaction.PlatformTransactionManager transactionManager() throws Exception
transactionManager
in class AbstractBatchConfiguration
Exception
@Bean public AutomaticJobRegistrar jobRegistrar() throws Exception
Exception
Copyright © 2017 Pivotal. All rights reserved.