|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.support.AbstractBeanDefinition org.springframework.beans.factory.support.ChildBeanDefinition
Bean definition for beans whose class is defined by their ancestry.
PropertyValues defined by the parent will also be "inherited", although it's possible to override them by redefining them in the property values associated with the child.
Constructor Summary | |
ChildBeanDefinition(java.lang.String parentName,
MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent. |
Method Summary | |
java.lang.String |
getParentName()
Return the name of the parent bean definition in the bean factory. |
java.lang.String |
toString()
|
void |
validate()
Validate this bean definition. |
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition |
getConstructorArgumentValues, getPropertyValues, getResourceDescription, isLazyInit, isSingleton, setLazyInit, setResourceDescription, setSingleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChildBeanDefinition(java.lang.String parentName, MutablePropertyValues pvs)
parentName
- the name of the parent beanpvs
- the additional property values of the childMethod Detail |
public java.lang.String getParentName()
public void validate() throws BeanDefinitionValidationException
AbstractBeanDefinition
validate
in class AbstractBeanDefinition
BeanDefinitionValidationException
- in case of validation failurepublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |