1 17 package org.apache.geronimo.system.plugin; 18 19 import java.io.IOException ; 20 import java.io.File ; 21 import java.net.URL ; 22 import java.util.Map ; 23 import javax.security.auth.login.FailedLoginException ; 24 import org.apache.geronimo.kernel.repository.Artifact; 25 26 31 public interface PluginInstaller { 32 42 public PluginList listPlugins(URL mavenRepository, String username, String password) throws IOException , FailedLoginException ; 43 44 51 public Map getInstalledPlugins(); 52 53 62 public PluginMetadata getPluginMetadata(Artifact moduleId); 63 64 74 public void updatePluginMetadata(PluginMetadata metadata); 75 76 88 public DownloadResults install(PluginList pluginsToInstall, String username, String password); 89 90 106 public void install(PluginList pluginsToInstall, String username, String password, DownloadPoller poller); 107 108 123 public Object startInstall(PluginList pluginsToInstall, String username, String password); 124 125 145 public Object startInstall(File carFile, String username, String password); 146 147 155 public DownloadResults checkOnInstall(Object key); 156 } 157 | Popular Tags |