Map<String, BundleState> bundles = clusterManager.getMap(Constants.BUNDLE_MAP + Configurations.SEPARATOR + groupName);
for (String bundle : bundles.keySet()) {
String[] tokens = bundle.split("/");
String name = tokens[0];
String version = tokens[1];
BundleState state = bundles.get(bundle);
CompositeData data = new CompositeDataSupport(compositeType,
new String[]{"name", "version", "status", "location"},
new Object[]{name, version, state.getStatus(), state.getLocation()});
table.put(data);
}
} finally {
Thread.currentThread().setContextClassLoader(originalClassLoader);
}