public static List<IBundleContainer> getBundleContainers(final KarafPlatformModel karafPlatformModel) {
final Collection<File> directories = KarafLaunchUtils.getJarDirectories(karafPlatformModel);
final List<IBundleContainer> bundleContainers = new ArrayList<IBundleContainer>();
for (final File dir : directories) {
bundleContainers.add(new DirectoryBundleContainer(dir.getAbsolutePath()));
}
return bundleContainers;
}