*/
@Deprecated
public static void updateBusReferencesInContext(Bus bus, ApplicationContext ctx) {
Configurer conf = bus.getExtension(Configurer.class);
if (conf instanceof NullConfigurer) {
bus.setExtension(new ConfigurerImpl(ctx), Configurer.class);
conf = bus.getExtension(Configurer.class);
} else if (conf instanceof ConfigurerImpl) {
((ConfigurerImpl)conf).addApplicationContext(ctx);
}
if (ctx instanceof ConfigurableApplicationContext) {