@Override
public ModuleDescriptor<ConnectIFrame> createModuleDescriptor(ConnectIFrameBean bean, ConnectAddonBean addon) {
ConnectIFrameModuleDescriptor iFrameModuleDescriptor = new ConnectIFrameModuleDescriptor(moduleFactory, bean.getconnectIFrame());
Element iFrameModule = new DOMElement("connect-iframe");
iFrameModule.addAttribute("key", ConnectIFrameModuleDescriptor.getModuleKey(addon.getKey(), bean.getModuleKey(), bean.getClassifier()));
iFrameModuleDescriptor.init(pluginRetrievalService.getPlugin(), iFrameModule);
return iFrameModuleDescriptor;
}
}