}
inj = getBusForName(busname, factory, create != null, create);
}
beanDefinition.removeAttribute(AbstractBeanDefinitionParser.WIRE_BUS_NAME);
beanDefinition.removeAttribute(AbstractBeanDefinitionParser.WIRE_BUS_ATTRIBUTE);
beanDefinition.removeAttribute(AbstractBeanDefinitionParser.WIRE_BUS_CREATE);
if (create == null) {
if (BusWiringType.PROPERTY == type) {
beanDefinition.getPropertyValues()
.addPropertyValue("bus", inj);
} else if (BusWiringType.CONSTRUCTOR == type) {