Package org.springframework.yarn.batch.repository

Examples of org.springframework.yarn.batch.repository.JobRepositoryService


  public StubAppmasterScOperations() {
    MapJobRepositoryFactoryBean factory = new MapJobRepositoryFactoryBean();
    try {
      factory.afterPropertiesSet();
      jobRepository = factory.getObject();
      jobRepositoryService = new JobRepositoryService();
      jobRepositoryService.setJobRepository(jobRepository);
    } catch (Exception e) {
    }
  }
View Full Code Here


    return new DefaultYarnEventPublisher();
  }

  @Bean
  public JobRepositoryService jobRepositoryService() throws Exception {
    JobRepositoryService service = new JobRepositoryService();
    service.setJobExplorer(jobExplorer());
    service.setJobRepository(jobRepository);
    return service;
  }
View Full Code Here

TOP

Related Classes of org.springframework.yarn.batch.repository.JobRepositoryService

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.