public class CapabilitiesProvidedInfoProvider extends Object implements BundleInfoProvider
NO_INFO| Modifier and Type | Method and Description |
|---|---|
BundleInfo[] |
getBundleInfo(org.osgi.framework.Bundle bundle,
String webConsoleRoot,
Locale locale)
Gets the associated bundle information with the specified bundle (by it's
ID)
The Service may also be called outside through the new Inventory bundle
due to mapping the BundlesServlet to an InventoryPrinter and for example
calling it from a Gogo Shell.
|
String |
getName(Locale locale)
Gets the name of the bundle info provider as localized string.
|
public String getName(Locale locale)
BundleInfoProvidergetName in interface BundleInfoProviderlocale - the locale in which the name should be returnedpublic BundleInfo[] getBundleInfo(org.osgi.framework.Bundle bundle, String webConsoleRoot, Locale locale)
BundleInfoProviderwebConsoleRoot
parameter will be null a BundleInfo objects of type
BundleInfoType.LINK must not be generated.getBundleInfo in interface BundleInfoProviderbundle - the bundle, for which additional information is requested.webConsoleRoot - the root alias of the web console itself or null
if this method is not called through the Web Console itself.locale - the locale in which the key-value pair should be returned.BundleInfo or empty array if none.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.