RuntimeBeanReference(beanName: String)
Create a new RuntimeBeanReference to the given bean name, without explicitly marking it as reference to a bean in the parent factory.
beanName - name of the target bean
RuntimeBeanReference(beanName: String, toParent: Boolean)
Create a new RuntimeBeanReference to the given bean name, with the option to mark it as reference to a bean in the parent factory.
beanName - name of the target bean
toParent - whether this is an explicit reference to a bean in the parent factory