/**
  * Constructor : use the process and language to initialize internal components.
  *
  * @param process
  * @param language
  */
 public CamelCodeGenerator(
     RouteProcess process, boolean statistics, boolean trace, String... options) {
   this.process = process;
   if (DEBUG) {
     System.out.println(Messages.getString("CamelCodeGenerator.getGraphicalNode1")); // $NON-NLS-1$
     NodeUtil.printForDebug(process.getGraphicalNodes());
     System.out.println(Messages.getString("CamelCodeGenerator.getGraphicalNode2")); // $NON-NLS-1$
     NodeUtil.printForDebug(process.getGeneratingNodes());
   }
   partGeneratorManager = new PartGeneratorManager(process, statistics, trace, options);
 }
 @Override
 public String generateSpringContent() throws CodeGeneratorException {
   // a route job always has spring content
   return process.getSpringContent();
 }