类 RemoteChunkingMasterStepBuilderFactory
- java.lang.Object
- org.springframework.batch.integration.chunk.RemoteChunkingMasterStepBuilderFactory
public class RemoteChunkingMasterStepBuilderFactory extends java.lang.Object
Convenient factory for aRemoteChunkingMasterStepBuilder
which sets theJobRepository
andPlatformTransactionManager
automatically.- 从以下版本开始:
- 4.1
- 作者:
- Mahmoud Ben Hassine
构造器概要
构造器 构造器 说明 RemoteChunkingMasterStepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemoteChunkingMasterStepBuilderFactory
.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <I,O>
RemoteChunkingMasterStepBuilder<I,O>get(java.lang.String name)
Creates aRemoteChunkingMasterStepBuilder
and initializes its job repository and transaction manager.
构造器详细资料
RemoteChunkingMasterStepBuilderFactory
public RemoteChunkingMasterStepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemoteChunkingMasterStepBuilderFactory
.- 参数:
jobRepository
- the job repository to usetransactionManager
- the transaction manager to use
方法详细资料
get
public <I,O> RemoteChunkingMasterStepBuilder<I,O> get(java.lang.String name)
Creates aRemoteChunkingMasterStepBuilder
and initializes its job repository and transaction manager.- 参数:
name
- the name of the step- 返回:
- a
RemoteChunkingMasterStepBuilder