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 SummaryConstructorsConstructorDescriptionRuntimeBeanNameReference(String beanName) Create a new RuntimeBeanNameReference to the given bean name.
- 
Method Summary
- 
Constructor Details- 
RuntimeBeanNameReferenceCreate a new RuntimeBeanNameReference to the given bean name.- Parameters:
- beanName- name of the target bean
 
 
- 
- 
Method Details- 
getBeanNameDescription copied from interface:BeanReferenceReturn the target bean name that this reference points to (nevernull).- Specified by:
- getBeanNamein interface- BeanReference
 
- 
setSourceSet the configuration sourceObjectfor this metadata element.The exact type of the object will depend on the configuration mechanism used. 
- 
getSourceDescription copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
- getSourcein interface- BeanMetadataElement
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-