I'm looking for a standard way through the Framework API to inspect a bundle's resolved bundle dependencies and imported packages. The BundleStateMBean defines a #getImportedPackages(long bundleId) & #getRequiredBundles(long) method.
The processing used for getImportedPackages (FrameworkUtils#getBundleImportedPackages) in particular will iterate through all bundles in the framework, query for ExportedPackages on each one and check for a match on the importing bundles. Any ideas on a more efficient (standard) way of doing this? Cheers, Alan
