类 StepExecutionRequestHandler
- java.lang.Object
- org.springframework.batch.integration.partition.StepExecutionRequestHandler
@MessageEndpoint public class StepExecutionRequestHandler extends java.lang.Object
AMessageEndpoint
that can handle aStepExecutionRequest
and return aStepExecution
as the result. Typically these need to be aggregated into a response to a partition handler.- 作者:
- Dave Syer
构造器概要
构造器 构造器 说明 StepExecutionRequestHandler()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StepExecution
handle(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.
构造器详细资料
StepExecutionRequestHandler
public StepExecutionRequestHandler()
方法详细资料
setStepLocator
public void setStepLocator(StepLocator stepLocator)
Used to locate aStep
to execute for each request.- 参数:
stepLocator
- aStepLocator
setJobExplorer
public void setJobExplorer(JobExplorer jobExplorer)
An explorer that should be used to check forStepExecution
completion.- 参数:
jobExplorer
- aJobExplorer
that is linked to the shared repository used by all remote workers.
handle
@ServiceActivator public StepExecution handle(StepExecutionRequest request)