public class MinimalBundleProvisioner extends BundleProvisioner
BundleProvisioner that installs only a minimum set of of bundles.
It derives the set of bundles to be included from the list of bundles to be started and all fragment bundles
available in the installation locations.BundleProvisioner.DefaultCustomizer| Constructor and Description |
|---|
MinimalBundleProvisioner(org.osgi.framework.BundleContext bundleContext,
Properties config) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.enterprise.glassfish.bootstrap.osgi.MinimalBundleProvisioner.MinimalCustomizer |
getCustomizer() |
boolean |
hasAnyThingChanged() |
List<Long> |
installBundles()
This method goes collects list of bundles that have been installed
from the watched directory in previous run of the program,
compares them with the current set of jar files,
uninstalls old bundles, updates modified bundles, installs new bundles.
|
void |
refresh()
Refresh packages
|
void |
startBundles()
Go through the list of auto start bundles and start them.
|
getBundleContext, getNoOfInstalledBundles, getNoOfUninstalledBundles, getNoOfUpdatedBundles, isSystemBundleUpdationRequired, main, setBundleContext, setSystemBundleUpdationRequired, uninstallpublic MinimalBundleProvisioner(org.osgi.framework.BundleContext bundleContext,
Properties config)
public List<Long> installBundles()
BundleProvisionerinstallBundles in class BundleProvisionerpublic void startBundles()
BundleProvisionerstartBundles in class BundleProvisionerpublic boolean hasAnyThingChanged()
hasAnyThingChanged in class BundleProvisionerpublic void refresh()
BundleProvisionerrefresh in class BundleProvisionerpublic com.sun.enterprise.glassfish.bootstrap.osgi.MinimalBundleProvisioner.MinimalCustomizer getCustomizer()
getCustomizer in class BundleProvisionerCopyright © 2017. All rights reserved.