@MessageEndpoint
public class StepExecutionRequestHandler
extends java.lang.Object
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.| Constructor and Description |
|---|
StepExecutionRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
StepExecution |
handle(StepExecutionRequest request) |
void |
setJobExplorer(JobExplorer jobExplorer)
An explorer that should be used to check for
StepExecution
completion. |
void |
setStepLocator(StepLocator stepLocator)
Used to locate a
Step to execute for each request. |
public void setStepLocator(StepLocator stepLocator)
Step to execute for each request.stepLocator - a StepLocatorpublic void setJobExplorer(JobExplorer jobExplorer)
StepExecution
completion.jobExplorer - a JobExplorer that is linked to the shared
repository used by all remote workers.@ServiceActivator public StepExecution handle(StepExecutionRequest request)