Package org.springframework.batch.core.step.tasklet

Examples of org.springframework.batch.core.step.tasklet.TaskletStep


   */
  @Override
  public final Step getObject() throws Exception {
    SimpleStepBuilder<T, S> builder = createBuilder(getName());
    applyConfiguration(builder);
    TaskletStep step = builder.build();
    return step;
  }
View Full Code Here


      }

    }

    if (target instanceof TaskletStep) {
      TaskletStep step = (TaskletStep) target;
      step.setTransactionManager(properties.transactionManager);
    }

  }
View Full Code Here

  private StepExecution stepExecution;

  @Before
  public void setUp() throws Exception {
    step = new TaskletStep("step");
    MapJobRepositoryFactoryBean factory = new MapJobRepositoryFactoryBean();
    jobRepository = factory.getObject();
    stepExecution = jobRepository.createJobExecution("job", new JobParameters()).createStepExecution("bar");
    jobRepository.add(stepExecution);
  }
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.step.tasklet.TaskletStep

Copyright © 2018 www.massapicom. 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.