org.apache.aries.application.runtime.framework.utils
Class EquinoxFrameworkUtils
java.lang.Object
org.apache.aries.application.runtime.framework.utils.EquinoxFrameworkUtils
public class EquinoxFrameworkUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EquinoxFrameworkUtils
public EquinoxFrameworkUtils()
getExportPackages
public static Collection<Content> getExportPackages(org.osgi.framework.BundleContext isolatedBundleContext)
getSystemExtraPkgs
public static Collection<Content> getSystemExtraPkgs(org.osgi.framework.BundleContext context)
calculateImports
public static Collection<Content> calculateImports(Collection<Content> importPackage,
Collection<Content> exportPackages)
contentToString
public static String contentToString(Content content)
calculateSystemPackagesToFlow
public static String calculateSystemPackagesToFlow(Collection<Content> systemExports,
Collection<Content> imports)
- Calculates which system packages should be flowed
to a child framework based on what packages the
child framework imports. Equinox will require anything imported by the
child framework which is available from the system bundle
in the parent framework to come from the system bundle
in the child framework. However, we don't want to flow
all the extra system packages by default since we want CBAs
which use them to explicitly import them.
- Parameters:
importPackage -
- Returns:
-
- Throws:
CompositeBundleCalculateException
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.