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
-
Method Summary
Modifier and TypeMethodDescriptionhandle
(StepExecutionRequest request) void
setJobExplorer
(JobExplorer jobExplorer) An explorer 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
-
setJobExplorer
An explorer that should be used to check forStepExecution
completion.- Parameters:
jobExplorer
- aJobExplorer
that is linked to the shared repository used by all remote workers.
-
handle
-