package org.springframework.beans.factory.config;
Immutable placeholder class used for a property value object when it's
a reference to another bean in the factory, to be resolved at runtime.
Create a new RuntimeBeanReference to the given bean name,
without explicitly marking it as reference to a bean in
the parent factory.
- Parameters:
beanName name of the target bean
Create a new RuntimeBeanReference to the given bean name,
with the option to mark it as reference to a bean in
the parent factory.
- Parameters:
beanName name of the target beantoParent whether this is an explicit reference to
a bean in the parent factory
Assert.hasText(beanName, "'beanName' must not be empty");
Return whether this is an explicit reference to a bean
in the parent factory.
Set the configuration source
Object for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
result = 29 * result + (this.toParent ? 1 : 0);