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.beans.factory.InitializingBean,org.springframework.context.annotation.ImportAware
@Configuration(proxyBeanMethods=false)
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, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.PlatformTransactionManagerMethods inherited from class org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
afterPropertiesSet, getConfigurer, jobBuilders, jobRegistry, setImportMetadata, stepBuilders
-
Constructor Details
-
ModularBatchConfiguration
public ModularBatchConfiguration()
-
-
Method Details
-
jobRepository
- Specified by:
jobRepositoryin classAbstractBatchConfiguration- Throws:
Exception
-
jobLauncher
- Specified by:
jobLauncherin classAbstractBatchConfiguration- Throws:
Exception
-
transactionManager
public org.springframework.transaction.PlatformTransactionManager transactionManager() throws Exception- Specified by:
transactionManagerin classAbstractBatchConfiguration- Throws:
Exception
-
jobExplorer
- Specified by:
jobExplorerin classAbstractBatchConfiguration- Throws:
Exception
-
jobRegistrar
- Throws:
Exception
-