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();
m_logger.log(Logger.DEBUG, "New factory type available: " + type);
} catch (NoSuchMethodException e) {
m_logger.log(Logger.ERROR,
String.format("Extension '%s' is missing the required (BundleContext, Element) public " +