Class AbstractBatchConfiguration
java.lang.Object
org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.annotation.ImportAware
- Direct Known Subclasses:
ModularBatchConfiguration,SimpleBatchConfiguration
@Configuration(proxyBeanMethods=false)
@Import(ScopeConfiguration.class)
public abstract class AbstractBatchConfiguration
extends Object
implements org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.InitializingBean
Base
Configuration class providing common structure for enabling and using Spring Batch. Customization is
available by implementing the BatchConfigurer interface. BatchConfigurer.- Since:
- 2.2
- Author:
- Dave Syer, Michael Minella, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected BatchConfigurergetConfigurer(Collection<BatchConfigurer> configurers) abstract JobExplorerabstract JobLauncherabstract JobRepositoryvoidsetImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) abstract org.springframework.transaction.PlatformTransactionManager
-
Constructor Details
-
AbstractBatchConfiguration
public AbstractBatchConfiguration()
-
-
Method Details
-
jobBuilders
- Throws:
Exception
-
stepBuilders
- Throws:
Exception
-
jobRepository
- Throws:
Exception
-
jobLauncher
- Throws:
Exception
-
jobExplorer
- Throws:
Exception
-
jobRegistry
- Throws:
Exception
-
transactionManager
public abstract org.springframework.transaction.PlatformTransactionManager transactionManager() throws Exception- Throws:
Exception
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - Specified by:
setImportMetadatain interfaceorg.springframework.context.annotation.ImportAware
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getConfigurer
-