Class RuntimeBeanNameReference
java.lang.Object
org.springframework.beans.factory.config.RuntimeBeanNameReference
- All Implemented Interfaces:
BeanMetadataElement, BeanReference
Immutable placeholder class used for a property value object when it's a
reference to another bean name in the factory, to be resolved at runtime.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeBeanNameReference(String beanName) Create a new RuntimeBeanNameReference to the given bean name. -
Method Summary
-
Constructor Details
-
RuntimeBeanNameReference
Create a new RuntimeBeanNameReference to the given bean name.- Parameters:
beanName- name of the target bean
-
-
Method Details
-
getBeanName
Description copied from interface:BeanReferenceReturn the target bean name that this reference points to (nevernull).- Specified by:
getBeanNamein interfaceBeanReference
-
setSource
-
getSource
Description copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
getSourcein interfaceBeanMetadataElement
-
equals
-
hashCode
-
toString
-