Class ModularBatchConfiguration
java.lang.Object
org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration
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 SimpleBatchConfiguration
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:
-
Field Summary
Fields inherited from class org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration
context
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration
jobExplorer, jobLauncher, jobRepository, transactionManager
Methods inherited from class org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
afterPropertiesSet, getConfigurer, jobBuilders, jobRegistry, setImportMetadata, stepBuilders
-
Constructor Details
-
ModularBatchConfiguration
public ModularBatchConfiguration()
-
-
Method Details
-
jobRegistrar
Creates aAutomaticJobRegistrar
bean.- Returns:
- New instance of
AutomaticJobRegistrar
. - Throws:
Exception
- TheException
thrown if an error occurs.
-