|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mmbase.applications.packaging.BundleManager
public class BundleManager
Bundle manager, keeps track of all the bundles (of packages) available to this this MMBase. Since bundles themselfs are also packages it can become a little confusing thats why we have to managers (bundle and packages).
| Constructor Summary | |
|---|---|
BundleManager()
|
|
| Method Summary | |
|---|---|
static BundleInterface |
foundBundle(ProviderInterface provider,
org.w3c.dom.Element n,
java.lang.String name,
java.lang.String type,
java.lang.String maintainer,
java.lang.String version,
java.lang.String date,
java.lang.String path)
|
static BundleInterface |
getBundle(java.lang.String id)
get a bundle based on its id return Bundle (interface) or null if not found |
static BundleInterface |
getBundle(java.lang.String id,
java.lang.String wv)
|
static BundleInterface |
getBundle(java.lang.String id,
java.lang.String wv,
java.lang.String wp)
get a bundle (interface) based on it and wanted version/provider return Bundle (interface) or null if not found |
static java.util.Iterator |
getBundles()
get all the bundles available to this MMBase |
static java.util.Iterator |
getBundleVersions(java.lang.String id)
return all bundles versions of this id |
static int |
getInstalledVersion(java.lang.String id)
|
static void |
init()
init this manager |
static boolean |
isInstalledVersion(BundleInterface b)
|
static boolean |
isRunning()
is this manager running |
static boolean |
removeOfflineBundles(ProviderInterface wantedprov)
|
static boolean |
updateRegistryInstalled(BundleInterface b)
|
static boolean |
updateRegistryUninstalled(BundleInterface b)
|
static boolean |
upgradeAvailable(BundleInterface b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleManager()
| Method Detail |
|---|
public static void init()
public static boolean isRunning()
public static java.util.Iterator getBundles()
public static BundleInterface getBundle(java.lang.String id)
public static BundleInterface getBundle(java.lang.String id,
java.lang.String wv,
java.lang.String wp)
public static BundleInterface getBundle(java.lang.String id,
java.lang.String wv)
public static BundleInterface foundBundle(ProviderInterface provider,
org.w3c.dom.Element n,
java.lang.String name,
java.lang.String type,
java.lang.String maintainer,
java.lang.String version,
java.lang.String date,
java.lang.String path)
public static boolean updateRegistryInstalled(BundleInterface b)
public static boolean isInstalledVersion(BundleInterface b)
public static boolean upgradeAvailable(BundleInterface b)
public static int getInstalledVersion(java.lang.String id)
throws org.mmbase.storage.search.SearchQueryException
org.mmbase.storage.search.SearchQueryExceptionpublic static boolean updateRegistryUninstalled(BundleInterface b)
public static java.util.Iterator getBundleVersions(java.lang.String id)
public static boolean removeOfflineBundles(ProviderInterface wantedprov)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||