Package org.springframework.batch.core.configuration

Examples of org.springframework.batch.core.configuration.JobFactory.createJob()


  public Job getJob(String name) throws NoSuchJobException {
    JobFactory factory = map.get(name);
    if (factory == null) {
      throw new NoSuchJobException("No job configuration with the name [" + name + "] was registered");
    } else {
      return factory.createJob();
    }
  }

  /**
   * Provides an unmodifiable view of the job names.
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.