org.springframework.batch.integration.job
Class StepExecutionMessageHandler
java.lang.Object
org.springframework.batch.integration.job.StepExecutionMessageHandler
public class StepExecutionMessageHandler
- extends Object
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepExecutionMessageHandler
public StepExecutionMessageHandler()
setStep
public void setStep(Step step)
- Public setter for the
Step
.
- Parameters:
step
- the step to set
setJobRepository
public void setJobRepository(JobRepository jobRepository)
- Public setter for the
JobRepository
that is needed to manage the
state of the batch meta domain (jobs, steps, executions) during the life
of a job.
- Parameters:
jobRepository
-
handle
@Handler
public JobExecutionRequest handle(JobExecutionRequest request)
Copyright © 2009 SpringSource. All Rights Reserved.