private AbstractComponent createComponent(String componentTypeId)
throws InstantiationException, IllegalAccessException {
ExtendedComponentTypeInfo type = availableComponents.get(componentTypeId);
Class<? extends AbstractComponent> c;
if (type == null) {
DefaultComponentProvider provider = PlatformAccess.getPlatform().getDefaultComponentProvider();
c = provider.getBrokenComponent();
LOGGER.error("unable to find class for component " + componentTypeId + " this is likely caused by a missing bundle");
} else {
c = type.getComponentClass();
}
AbstractComponent component = c.newInstance();