}
}
} else {
// Step 2: See if the bundle is included in the application
BundleInfo bundleInfo = findBundleInfoInApplication(bundleSymbolicName, bundleVersion);
if (bundleInfo == null) {
// Step 3: Lookup bundle location using the resolver
bundleInfo = findBundleInfoUsingResolver(resolver, bundleSymbolicName, bundleVersion);
}
if (bundleInfo == null) {
throw new ManagementException("Cound not find bundles: " + bundleSymbolicName + "_" + bundleVersion);
}
contentBundle = bundleContext.installBundle(bundleInfo.getLocation());
applicationBundles.add(contentBundle);
}
}
} catch (BundleException be) {