Package | Description |
---|---|
org.apache.sling.installer.core.impl.tasks | |
org.apache.sling.installer.core.impl.util | |
org.osgi.framework | |
org.osgi.framework.wiring |
Modifier and Type | Method and Description |
---|---|
static Bundle |
BundleInfo.getMatchingBundle(org.osgi.framework.BundleContext bundleContext,
String bundleSymbolicName,
String version)
Finds the bundle with given symbolic name in our bundle context.
|
Modifier and Type | Method and Description |
---|---|
static String |
BundleUtil.getFragmentHostHeader(Bundle b)
Gets the bundle's Fragment-Host header.
|
static boolean |
BundleUtil.isBundleActive(Bundle b)
Check if the bundle is active.
|
static boolean |
BundleUtil.isLazyActivatian(Bundle b)
Check if the bundle has the lazy activation policy
|
static boolean |
BundleUtil.isSystemBundleFragment(Bundle installedBundle) |
static void |
RefreshBundlesTask.markBundleForRefresh(InstallationContext ctx,
TaskSupport btc,
Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
boolean |
WABundleRefresher.isInstallerBundleAffected(List<Bundle> bundles) |
boolean |
PABundleRefresher.isInstallerBundleAffected(List<Bundle> bundles)
Check whether a bundle refresh would affect the installer bundle
|
boolean |
BundleRefresher.isInstallerBundleAffected(List<Bundle> bundles) |
void |
WABundleRefresher.refreshBundles(InstallationContext ctx,
List<Bundle> bundles,
boolean wait) |
void |
PABundleRefresher.refreshBundles(InstallationContext ctx,
List<Bundle> bundles,
boolean wait) |
void |
BundleRefresher.refreshBundles(InstallationContext ctx,
List<Bundle> bundles,
boolean wait) |
Modifier and Type | Method and Description |
---|---|
Bundle |
BundleReference.getBundle()
Returns the
Bundle object associated with this
BundleReference . |
Modifier and Type | Method and Description |
---|---|
Collection<Bundle> |
FrameworkWiring.getDependencyClosure(Collection<Bundle> bundles)
Returns the dependency closure for the specified bundles.
|
Collection<Bundle> |
FrameworkWiring.getRemovalPendingBundles()
Returns the bundles that have
non-current , in use bundle wirings. |
Modifier and Type | Method and Description |
---|---|
Collection<Bundle> |
FrameworkWiring.getDependencyClosure(Collection<Bundle> bundles)
Returns the dependency closure for the specified bundles.
|
void |
FrameworkWiring.refreshBundles(Collection<Bundle> bundles,
org.osgi.framework.FrameworkListener... listeners)
Refreshes the specified bundles.
|
boolean |
FrameworkWiring.resolveBundles(Collection<Bundle> bundles)
Resolves the specified bundles.
|
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.