public interface BundleInfoProvider
|Modifier and Type||Field and Description|
This is just an utility - empty array, that could be returned when there is no additional information for a specific bundle.
|Modifier and Type||Method and Description|
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.
Gets the name of the bundle info provider as localized string.
static final BundleInfo NO_INFO
locale- the locale in which the name should be returned
BundleInfo getBundleInfo(org.osgi.framework.Bundle bundle, String webConsoleRoot, Locale locale)
webConsoleRootparameter will be null a
BundleInfoobjects of type
BundleInfoType.LINKmust not be generated.
bundle- the bundle, for which additional information is requested.
webConsoleRoot- the root alias of the web console itself or
nullif this method is not called through the Web Console itself.
locale- the locale in which the key-value pair should be returned.
BundleInfoor empty array if none.
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.