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, uninstall
public MinimalBundleProvisioner(org.osgi.framework.BundleContext bundleContext, Properties config)
public List<Long> installBundles()
BundleProvisioner
installBundles
in class BundleProvisioner
public void startBundles()
BundleProvisioner
startBundles
in class BundleProvisioner
public boolean hasAnyThingChanged()
hasAnyThingChanged
in class BundleProvisioner
public void refresh()
BundleProvisioner
refresh
in class BundleProvisioner
public com.sun.enterprise.glassfish.bootstrap.osgi.MinimalBundleProvisioner.MinimalCustomizer getCustomizer()
getCustomizer
in class BundleProvisioner
Copyright © 2015. All rights reserved.