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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.PlatformTransactionManager
Methods 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:
jobRepository
in classAbstractBatchConfiguration
- Throws:
Exception
-
jobLauncher
- Specified by:
jobLauncher
in classAbstractBatchConfiguration
- Throws:
Exception
-
transactionManager
public org.springframework.transaction.PlatformTransactionManager transactionManager() throws Exception- Specified by:
transactionManager
in classAbstractBatchConfiguration
- Throws:
Exception
-
jobExplorer
- Specified by:
jobExplorer
in classAbstractBatchConfiguration
- Throws:
Exception
-
jobRegistrar
- Throws:
Exception
-