org.springframework.beans.factory.support
Class ChildBeanDefinition

java.lang.Object
  extended byorg.springframework.beans.factory.support.AbstractBeanDefinition
      extended byorg.springframework.beans.factory.support.ChildBeanDefinition
All Implemented Interfaces:
BeanDefinition

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.

Version:
$Revision: 1.9 $
Author:
Rod Johnson

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

ChildBeanDefinition

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

Method Detail

getParentName

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


validate

public void validate()
              throws BeanDefinitionValidationException
Description copied from class: AbstractBeanDefinition
Validate this bean definition.

Overrides:
validate in class AbstractBeanDefinition
Throws:
BeanDefinitionValidationException - in case of validation failure

toString

public java.lang.String toString()


Copyright (C) 2003-2004 The Spring Framework Project.