public ComActivator[] getInvalidCompnents() {
Iterator<ComActivator> vit = bundleActivatorMap.values().iterator();
List<ComActivator> result = new ArrayList<ComActivator>();
while (vit.hasNext()) {
ComActivator activator = vit.next();
License license = activator.getValidLicense();
if (license == null) {
result.add(activator);
}
}
return result.toArray(new ComActivator[result.size()]);