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) voidsetJobExplorer(JobExplorer jobExplorer) An explorer that should be used to check forStepExecutioncompletion.voidsetStepLocator(StepLocator stepLocator) Used to locate aStepto execute for each request.
-
Constructor Details
-
StepExecutionRequestHandler
public StepExecutionRequestHandler()
-
-
Method Details
-
setStepLocator
Used to locate aStepto execute for each request.- Parameters:
stepLocator- aStepLocator
-
setJobExplorer
An explorer that should be used to check forStepExecutioncompletion.- Parameters:
jobExplorer- aJobExplorerthat is linked to the shared repository used by all remote workers.
-
handle
-