public PluginList listPlugins(URL mavenRepository, String username, String password) throws FailedLoginException, IOException {
Set set = kernel.listGBeans(new AbstractNameQuery(PluginInstaller.class.getName()));
for (Iterator it = set.iterator(); it.hasNext();) {
AbstractName name = (AbstractName) it.next();
PluginInstaller installer = (PluginInstaller) kernel.getProxyManager().createProxy(name, PluginInstaller.class);
PluginList results = installer.listPlugins(mavenRepository, username, password);
kernel.getProxyManager().destroyProxy(installer);
return results;
}
return null;
}