For a bundle that has not been uninstalled, the most recent bundle revision is defined to be the current bundle revision. A bundle in the UNINSTALLED state does not have a current revision. The current bundle revision for a bundle can be obtained by calling {@link Bundle#adapt(Class) bundle.adapt}(BundleRevision.class). Since a bundle in the UNINSTALLED state does not have a current revision, adapting such a bundle returns {@code null}.
The framework defines namespaces for {@link PackageNamespace package}, {@link BundleNamespace bundle} and {@link HostNamespace host} capabilitiesand requirements. These namespaces are defined only to express wiring information by the framework. They must not be used in {@link Constants#PROVIDE_CAPABILITY Provide-Capability} and{@link Constants#REQUIRE_CAPABILITY Require-Capability} manifest headers. @ThreadSafe @author $Id: 1f318afdf8f5fe6097a841b49b67bf67d8c924f2 $
|
|