return namedComponent;
}
private <T> Optional<NamedComponent<T>> buildAndStore(Name<T> name, MachineEngine<T> engine, SatisfiedBOM satisfiedBOM) {
logger.info("{} - building {} with {} / {}", id, name, engine, satisfiedBOM);
Timer timer = metrics.timer("<BUILD> " + name.getSimpleName());
Monitor monitor = timer.time();
ComponentBox<T> box;
try {
box = engine.newComponent(satisfiedBOM);
} finally {
monitor.stop();