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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected BatchConfigurer
getConfigurer
(Collection<BatchConfigurer> configurers) abstract JobExplorer
abstract JobLauncher
abstract JobRepository
void
setImportMetadata
(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:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getConfigurer
-