List of usage examples for org.springframework.batch.core.job SimpleStepHandler SimpleStepHandler
public SimpleStepHandler(JobRepository jobRepository)
From source file:org.springframework.batch.core.job.AbstractJob.java
/** * Public setter for the {@link JobRepository} that is needed to manage the * state of the batch meta domain (jobs, steps, executions) during the life * of a job.// w w w. j a va 2 s .c om * * @param jobRepository */ public void setJobRepository(JobRepository jobRepository) { this.jobRepository = jobRepository; stepHandler = new SimpleStepHandler(jobRepository); }