LOG.debug("Ignoring invalid RouteBuilder class: {}", aClass);
continue;
}
// type is valid so create and instantiate the builder
@SuppressWarnings("unchecked")
RoutesBuilder builder = instantiateBuilder((Class<? extends RoutesBuilder>) aClass);
if (beanPostProcessor != null) {
// Inject the annotated resource
beanPostProcessor.postProcessBeforeInitialization(builder, builder.toString());
}
LOG.debug("Adding instantiated RouteBuilder: {}", builder);
list.add(builder);
}
}