|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.config.RuntimeBeanNameReference
public class RuntimeBeanNameReference
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.
RuntimeBeanReference
,
BeanDefinition.getPropertyValues()
,
BeanFactory.getBean(java.lang.String)
Constructor Summary | |
---|---|
RuntimeBeanNameReference(String beanName)
Create a new RuntimeBeanNameReference to the given bean name. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuntimeBeanNameReference(String beanName)
beanName
- name of the target beanMethod Detail |
---|
public 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
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |