Class<?> implClass = componentDefinition.getImplementation().getClass();
ComponentBuilder<I> componentBuilder = (ComponentBuilder<I>) componentBuilders.get(implClass);
if (componentBuilder == null) {
BuilderConfigException e = new BuilderConfigException("No builder registered for implementation");
e.setIdentifier(implClass.getName());
e.addContextName(componentDefinition.getName());
throw e;
}
Component component = componentBuilder.build(parent, componentDefinition, deploymentContext);
ComponentType<?, ?, ?> componentType = componentDefinition.getImplementation().getComponentType();