|
||||||||||
| 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 org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
|---|---|
PluginRepositoryDownloader(List downloadRepositories,
List userRepositories,
URL repositoryList,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName name)
|
|
| Method Summary | |
|---|---|
void |
addUserRepository(URL repo)
Adds a new repository that the user put in manually. |
static org.apache.geronimo.gbean.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 downloadRepositories)
The list of repositories that were downloaded from central. |
void |
setUserRepositories(List 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 org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public PluginRepositoryDownloader(List downloadRepositories,
List userRepositories,
URL repositoryList,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName name)
| Method Detail |
|---|
public void setDownloadRepositories(List downloadRepositories)
public void setUserRepositories(List userRepositories)
public URL[] getRepositories()
getRepositories in interface PluginRepositoryListpublic void refresh()
refresh in interface PluginRepositoryListpublic void addUserRepository(URL repo)
addUserRepository in interface PluginRepositoryListpublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||