org.eclipse.gemini.blueprint.io.internal.resolver
Interface DependencyResolver
- All Known Implementing Classes:
- PackageAdminResolver
public interface DependencyResolver
Simple interface offering utility methods for OSGi dependencies, mainly
bundles. This class suplements the PackageAdmin
service by offering
information on importing, not just exporting.
- Author:
- Costin Leau
getImportedBundles
ImportedBundle[] getImportedBundles(org.osgi.framework.Bundle bundle)
- Returns the bundles imported by the given bundle. It's up to the
implementation to consider required bundles, bundle class-path and
dynamic imports.
The returned array should not contain duplicates (each imported
bundle should be present exactly once).
In general it is not expected to have knowledge about runtime
loading (such as dynamic imports).
- Parameters:
bundle
- OSGi bundle for which imported bundles will be determined
- Returns:
- a not-null array of importing bundles
Copyright © 2006-2012. All Rights Reserved.