m_logger.log(Logger.ERROR, message, e);
return;
}
try {
ReflectiveFactoryBuilder builder = new ReflectiveFactoryBuilder(clazz.getConstructor(BundleContext.class, Element.class));
DefaultExtensionDeclaration declaration = new DefaultExtensionDeclaration(bundle.getBundleContext(), builder, type);
getBundleDeclarations(bundle).add(declaration);
declaration.start();