}
private boolean validExports(ExportPackageDescription[] matchingExports) {
// make sure each matching exports matches the export signature of the composite
CompositeModule composite = (CompositeModule) getCompanionBundle();
BundleDescription childDesc = composite.getCompositeDescription();
ExportPackageDescription[] childExports = childDesc.getExportPackages();
for (int i = 0; i < matchingExports.length; i++) {
for (int j = 0; j < childExports.length; j++) {
if (matchingExports[i].getName().equals(childExports[j].getName())) {
if (!validateExport(matchingExports[i], childExports[j]))
return false;