类 ModularBatchConfiguration
- java.lang.Object
- org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
- org.springframework.batch.core.configuration.annotation.ModularBatchConfiguration
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.context.annotation.ImportAware
@Configuration public class ModularBatchConfiguration extends AbstractBatchConfiguration
BaseConfiguration
class providing common structure for enabling and using Spring Batch. Customization is available by implementing theBatchConfigurer
interface.- 从以下版本开始:
- 2.2
- 作者:
- Dave Syer
- 另请参阅:
EnableBatchProcessing
构造器概要
构造器 构造器 说明 ModularBatchConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JobExplorer
jobExplorer()
JobLauncher
jobLauncher()
AutomaticJobRegistrar
jobRegistrar()
JobRepository
jobRepository()
org.springframework.transaction.PlatformTransactionManager
transactionManager()
从类继承的方法 org.springframework.batch.core.configuration.annotation.AbstractBatchConfiguration
getConfigurer, jobBuilders, jobRegistry, setImportMetadata, stepBuilders
构造器详细资料
ModularBatchConfiguration
public ModularBatchConfiguration()
方法详细资料
jobRepository
@Bean public JobRepository jobRepository() throws java.lang.Exception
- 指定者:
jobRepository
在类中AbstractBatchConfiguration
- 抛出:
java.lang.Exception
jobLauncher
@Bean public JobLauncher jobLauncher() throws java.lang.Exception
- 指定者:
jobLauncher
在类中AbstractBatchConfiguration
- 抛出:
java.lang.Exception
transactionManager
@Bean public org.springframework.transaction.PlatformTransactionManager transactionManager() throws java.lang.Exception
- 指定者:
transactionManager
在类中AbstractBatchConfiguration
- 抛出:
java.lang.Exception
jobExplorer
@Bean public JobExplorer jobExplorer() throws java.lang.Exception
- 指定者:
jobExplorer
在类中AbstractBatchConfiguration
- 抛出:
java.lang.Exception
jobRegistrar
@Bean public AutomaticJobRegistrar jobRegistrar() throws java.lang.Exception
- 抛出:
java.lang.Exception