org.springframework.beans.factory.support
Class ChildBeanDefinition

org.springframework.beans.factory.support.AbstractBeanDefinition
  |
  +--org.springframework.beans.factory.support.ChildBeanDefinition

public class ChildBeanDefinition
extends AbstractBeanDefinition

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.

Author:
Rod Johnson
Version: $Revision: 1.8 $

Constructor Summary
ChildBeanDefinition(String parentName, MutablePropertyValues pvs)
          Create a new ChildBeanDefinition for the given parent.

Method Summary
 StringgetParentName()
          Return the name of the parent bean definition in the bean factory.
 StringtoString()
           
 voidvalidate()
           

Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition
getPropertyValues, getResourceDescription, isLazyInit, isSingleton, setLazyInit, setResourceDescription, setSingleton

Constructor Detail

ChildBeanDefinition

public ChildBeanDefinition(String parentName, MutablePropertyValues pvs)
Create a new ChildBeanDefinition for the given parent.
Method Detail

getParentName

public String getParentName()
Return the name of the parent bean definition in the bean factory.

toString

public String toString()

validate

public void validate()
throws BeanDefinitionValidationException

Association Links

to Class java.lang.String