Class RemoteChunkingManagerStepBuilderFactory
java.lang.Object
org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilderFactory
Convenient factory for a
RemoteChunkingManagerStepBuilder
which sets
the JobRepository
and PlatformTransactionManager
automatically.- Since:
- 4.2
- Author:
- Mahmoud Ben Hassine
-
Constructor Summary
ConstructorDescriptionRemoteChunkingManagerStepBuilderFactory
(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager) Create a newRemoteChunkingManagerStepBuilderFactory
. -
Method Summary
Modifier and TypeMethodDescription<I,
O> RemoteChunkingManagerStepBuilder<I, O> Creates aRemoteChunkingManagerStepBuilder
and initializes its job repository and transaction manager.
-
Constructor Details
-
RemoteChunkingManagerStepBuilderFactory
public RemoteChunkingManagerStepBuilderFactory(JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager) Create a newRemoteChunkingManagerStepBuilderFactory
.- Parameters:
jobRepository
- the job repository to usetransactionManager
- the transaction manager to use
-
-
Method Details
-
get
Creates aRemoteChunkingManagerStepBuilder
and initializes its job repository and transaction manager.- Type Parameters:
I
- type of input itemsO
- type of output items- Parameters:
name
- the name of the step- Returns:
- a
RemoteChunkingManagerStepBuilder
-