for (Location jarLocation : Futures.allAsList(futures).get()) {
programs.add(Programs.create(jarLocation, null));
}
} finally {
executorService.shutdown();
}
// Emits the received specification with programs.
emit(new ApplicationWithPrograms(o, programs.build()));
}