// for each FactoryFor component, insert inhabitant for components created by the factory
if (index.equals(FactoryFor.class.getName())) {
FactoryFor ff = i.type().getAnnotation(FactoryFor.class);
Class<?> targetClass = ff.value();
FactoryCreator target = new FactoryCreator(targetClass, i, habitat, MultiMap.<String,String>emptyMap());
habitat.add(target);
habitat.addIndex(target, targetClass.getName(), null);
}
// System.out.println("Habitat Index Changed: " + eventType + "; " + i + "; index=" + index + "; name=" + name);