Package org.springframework.batch.item

Examples of org.springframework.batch.item.ExecutionContext.containsKey()


  public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
    this.jdbcTemplate.update("insert into TESTS(ID, NAME) values (?, 'SampleTasklet" + id + "')", id);

    if (jobExecution != null) {
      ExecutionContext jobContext = jobExecution.getExecutionContext();
      if (jobContext.containsKey("key1")) {
        jobContextEntryFound = true;
      }
    }

    return RepeatStatus.FINISHED;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.