logger.debug("Registering ModuleChoiceListInitializer '" + moduleChoiceListInitializer.getKey() + "' (" + beanName + ")");
}
choiceListInitializers.getInitializers().put(moduleChoiceListInitializer.getKey(),moduleChoiceListInitializer);
}
if (bean instanceof ModuleGlobalObject) {
ModuleGlobalObject moduleGlobalObject = (ModuleGlobalObject) bean;
if (logger.isDebugEnabled()) {
logger.debug("Registering ModuleGlobalObject '" + beanName + "'");
}
if(moduleGlobalObject.getGlobalRulesObject()!=null) {
for (RulesListener listener : RulesListener.getInstances()) {
for (Map.Entry<String, Object> entry : moduleGlobalObject.getGlobalRulesObject().entrySet()) {
listener.addGlobalObject(entry.getKey(),entry.getValue());
}
}
}
}