|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.system.plugin.PluginRepositoryDownloader
public class PluginRepositoryDownloader
An implementation of PluginRepositoryList that downloads plugins from an Apache web site.
| Field Summary | |
|---|---|
static GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
|---|---|
PluginRepositoryDownloader(List<String> downloadRepositories,
List<String> userRepositories,
URL repositoryList,
Kernel kernel,
AbstractName name)
|
|
| Method Summary | |
|---|---|
void |
addUserRepository(URL repo)
Adds a new repository that the user put in manually. |
static GBeanInfo |
getGBeanInfo()
|
URL[] |
getRepositories()
Gets the union of centrally-listed repositories and user-added repositories. |
void |
refresh()
Go download a fresh copy of the repository list. |
void |
setDownloadRepositories(List<String> downloadRepositories)
The list of repositories that were downloaded from central. |
void |
setUserRepositories(List<String> userRepositories)
Any repositories that the user added manually |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public PluginRepositoryDownloader(List<String> downloadRepositories,
List<String> userRepositories,
URL repositoryList,
Kernel kernel,
AbstractName name)
| Method Detail |
|---|
public void setDownloadRepositories(List<String> downloadRepositories)
public void setUserRepositories(List<String> userRepositories)
public URL[] getRepositories()
getRepositories in interface PluginRepositoryListpublic void refresh()
refresh in interface PluginRepositoryListpublic void addUserRepository(URL repo)
addUserRepository in interface PluginRepositoryListpublic static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||