@Configuration
@Import(value=org.springframework.batch.core.configuration.annotation.ScopeConfiguration.class)
public abstract class AbstractBatchConfiguration
extends java.lang.Object
implements org.springframework.context.annotation.ImportAware
Configuration class providing common structure for enabling and using Spring Batch. Customization is
available by implementing the BatchConfigurer interface. BatchConfigurer.EnableBatchProcessing| Constructor and Description |
|---|
AbstractBatchConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected BatchConfigurer |
getConfigurer(java.util.Collection<BatchConfigurer> configurers) |
JobBuilderFactory |
jobBuilders() |
abstract JobExplorer |
jobExplorer() |
abstract JobLauncher |
jobLauncher() |
JobRegistry |
jobRegistry() |
abstract JobRepository |
jobRepository() |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
StepBuilderFactory |
stepBuilders() |
abstract org.springframework.transaction.PlatformTransactionManager |
transactionManager() |
@Bean public JobBuilderFactory jobBuilders() throws java.lang.Exception
java.lang.Exception@Bean public StepBuilderFactory stepBuilders() throws java.lang.Exception
java.lang.Exception@Bean public abstract JobRepository jobRepository() throws java.lang.Exception
java.lang.Exception@Bean public abstract JobLauncher jobLauncher() throws java.lang.Exception
java.lang.Exception@Bean public abstract JobExplorer jobExplorer() throws java.lang.Exception
java.lang.Exception@Bean public JobRegistry jobRegistry() throws java.lang.Exception
java.lang.Exception@Bean
public abstract org.springframework.transaction.PlatformTransactionManager transactionManager()
throws java.lang.Exception
java.lang.Exceptionpublic void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAwareprotected BatchConfigurer getConfigurer(java.util.Collection<BatchConfigurer> configurers) throws java.lang.Exception
java.lang.Exception