org.springframework.batch.core.configuration.annotation
Class ModularBatchConfiguration
java.lang.Object
org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
org.springframework.batch.core.configuration.annotation.ModularBatchConfiguration
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportAware
@Configuration
public class ModularBatchConfiguration
- extends AbstractBatchConfiguration
Base Configuration class providing common structure for enabling and using Spring Batch. Customization is
available by implementing the BatchConfigurer interface.
- Since:
- 2.2
- Author:
- Dave Syer
- See Also:
EnableBatchProcessing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModularBatchConfiguration
public ModularBatchConfiguration()
jobRepository
@Bean
public JobRepository jobRepository()
throws Exception
- Specified by:
jobRepository in class AbstractBatchConfiguration
- Throws:
Exception
jobLauncher
@Bean
public JobLauncher jobLauncher()
throws Exception
- Specified by:
jobLauncher in class AbstractBatchConfiguration
- Throws:
Exception
transactionManager
@Bean
public org.springframework.transaction.PlatformTransactionManager transactionManager()
throws Exception
- Specified by:
transactionManager in class AbstractBatchConfiguration
- Throws:
Exception
jobRegistrar
@Bean
public AutomaticJobRegistrar jobRegistrar()
throws Exception
- Throws:
Exception
Copyright © 2013 SpringSource. All Rights Reserved.