类 StepBuilderFactory
- java.lang.Object
- org.springframework.batch.core.configuration.annotation.StepBuilderFactory
public class StepBuilderFactory extends java.lang.Object
Convenient factory for aStepBuilder
which sets theJobRepository
andPlatformTransactionManager
automatically.- 作者:
- Dave Syer
构造器概要
构造器 构造器 说明 StepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StepBuilder
get(java.lang.String name)
Creates a step builder and initializes its job repository and transaction manager.
构造器详细资料
StepBuilderFactory
public StepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
方法详细资料
get
public StepBuilder get(java.lang.String name)
Creates a step builder and initializes its job repository and transaction manager. Note that if the builder is used to create a @Bean definition then the name of the step and the bean name might be different.- 参数:
name
- the name of the step- 返回:
- a step builder