Class 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.- Since:
- 4.1
- Author:
- Mahmoud Ben Hassine
Constructor Summary
Constructors Constructor Description RemoteChunkingMasterStepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemoteChunkingMasterStepBuilderFactory
.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <I,O>
RemoteChunkingMasterStepBuilder<I,O>get(java.lang.String name)
Creates aRemoteChunkingMasterStepBuilder
and initializes its job repository and transaction manager.
Constructor Detail
RemoteChunkingMasterStepBuilderFactory
public RemoteChunkingMasterStepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemoteChunkingMasterStepBuilderFactory
.- Parameters:
jobRepository
- the job repository to usetransactionManager
- the transaction manager to use
Method Detail
get
public <I,O> RemoteChunkingMasterStepBuilder<I,O> get(java.lang.String name)
Creates aRemoteChunkingMasterStepBuilder
and initializes its job repository and transaction manager.- Parameters:
name
- the name of the step- Returns:
- a
RemoteChunkingMasterStepBuilder