parentBean.getBeanDefinition().setFactoryBeanName(text);
element = parentBean;
}
else if (parent.getLocalName().equals(BeansSchemaConstants.ELEM_CONSTRUCTOR_ARG)
&& attribute.getLocalName().equals(BeansSchemaConstants.ATTR_REF)) {
BeanConstructorArgumentHelper ctorHelper = new BeanConstructorArgumentHelper(0, parent, file, parentBean);
ctorHelper.setValue(new RuntimeBeanReference(text));
element = ctorHelper;
}
else if (parent.getLocalName().equals(BeansSchemaConstants.ELEM_PROPERTY)
&& attribute.getLocalName().equals(BeansSchemaConstants.ATTR_REF)) {
BeanPropertyHelper propertyHelper = new BeanPropertyHelper(parent, file, parentBean);