@Configuration @Import(value=org.springframework.batch.core.configuration.annotation.StepScopeConfiguration.class) public abstract class AbstractBatchConfiguration extends 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(Collection<BatchConfigurer> configurers) |
JobBuilderFactory |
jobBuilders() |
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 Exception
Exception@Bean public StepBuilderFactory stepBuilders() throws Exception
Exception@Bean public abstract JobRepository jobRepository() throws Exception
Exception@Bean public abstract JobLauncher jobLauncher() throws Exception
Exception@Bean public JobRegistry jobRegistry() throws Exception
Exception@Bean
public abstract org.springframework.transaction.PlatformTransactionManager transactionManager()
throws Exception
Exceptionpublic void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAwareprotected BatchConfigurer getConfigurer(Collection<BatchConfigurer> configurers) throws Exception
ExceptionCopyright © 2014. All rights reserved.