Class StepExecutionRequestHandler
java.lang.Object
org.springframework.batch.integration.partition.StepExecutionRequestHandler
A
MessageEndpoint
that can handle a StepExecutionRequest
and return a
StepExecution
as the result. Typically these need to be aggregated into a
response to a partition handler.- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle
(StepExecutionRequest request) void
setJobRepository
(JobRepository jobRepository) A job repository that should be used to check forStepExecution
completion.void
setStepLocator
(StepLocator stepLocator) Used to locate aStep
to execute for each request.
-
Constructor Details
-
StepExecutionRequestHandler
public StepExecutionRequestHandler()
-
-
Method Details
-
setStepLocator
Used to locate aStep
to execute for each request.- Parameters:
stepLocator
- aStepLocator
-
setJobRepository
A job repository that should be used to check forStepExecution
completion.- Parameters:
jobRepository
- aJobRepository
that is linked to the shared repository used by all remote workers.
-
handle
-