public class RuntimeBeanNameReference extends Object implements BeanReference
RuntimeBeanReference
,
BeanDefinition.getPropertyValues()
,
BeanFactory.getBean(java.lang.String)
Constructor and Description |
---|
RuntimeBeanNameReference(String beanName)
Create a new RuntimeBeanNameReference to the given bean name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getBeanName()
Return the target bean name that this reference points to (never
null ). |
Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null ). |
int |
hashCode() |
void |
setSource(Object source)
Set the configuration source
Object for this metadata element. |
String |
toString() |
public RuntimeBeanNameReference(String beanName)
beanName
- name of the target beanpublic String getBeanName()
BeanReference
null
).getBeanName
in interface BeanReference
public void setSource(Object source)
Object
for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
public Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).getSource
in interface BeanMetadataElement