enableEvents(eventBus);
}
//ignore global 'shiro.' shortcut mechanism:
if (!bd.isGlobalConfig()) {
BeanEvent event = new ConfiguredBeanEvent(bd.getBeanName(), bd.getBean(),
Collections.unmodifiableMap(objects));
eventBus.publish(event);
}
//initialize the bean if necessary: