Package org.springframework.batch.core.configuration.annotation

Examples of org.springframework.batch.core.configuration.annotation.StepBuilderFactory


    return new JobBuilderFactory(jobRepository());
  }

  @Bean
  public StepBuilderFactory stepBuilders() throws Exception {
    return new StepBuilderFactory(jobRepository(), transactionManager());
  }
View Full Code Here


    context.refresh();
    JobRepository jobRepository = context.getBean(JobRepository.class);
    jobLauncher = context.getBean(JobLauncher.class);
    jobs = new JobBuilderFactory(jobRepository);
    PlatformTransactionManager transactionManager = this.context.getBean(PlatformTransactionManager.class);
    steps = new StepBuilderFactory(jobRepository, transactionManager);
    step = steps.get("step").tasklet(new Tasklet() {
      @Override
      public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
        return null;
      }
View Full Code Here

    JobRepository jobRepository = this.context.getBean(JobRepository.class);
    this.jobLauncher = this.context.getBean(JobLauncher.class);
    this.jobs = new JobBuilderFactory(jobRepository);
    PlatformTransactionManager transactionManager = this.context
        .getBean(PlatformTransactionManager.class);
    this.steps = new StepBuilderFactory(jobRepository, transactionManager);
    this.step = this.steps.get("step").tasklet(new Tasklet() {
      @Override
      public RepeatStatus execute(StepContribution contribution,
          ChunkContext chunkContext) throws Exception {
        return null;
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.configuration.annotation.StepBuilderFactory

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.