|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.config.RuntimeBeanReference
public class RuntimeBeanReference
Immutable placeholder class used for the value of a PropertyValue object when it's a reference to another bean in this factory to be resolved at runtime.
Constructor Summary | |
---|---|
RuntimeBeanReference(String beanName)
Create a new RuntimeBeanReference to the given bean name, without explicitly marking it as reference to a bean in the parent factory. |
|
RuntimeBeanReference(String beanName,
boolean toParent)
Create a new RuntimeBeanReference to the given bean name, with the option to mark it as reference to a bean in the parent factory. |
Method Summary | |
---|---|
String |
getBeanName()
Return the target bean name. |
boolean |
isToParent()
Return whether this is an explicit reference to a bean in the parent factory. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuntimeBeanReference(String beanName)
beanName
- name of the target beanpublic RuntimeBeanReference(String beanName, boolean toParent)
beanName
- name of the target beantoParent
- whether this is an explicit reference to
a bean in the parent factoryMethod Detail |
---|
public String getBeanName()
public boolean isToParent()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |