Class AbstractComponentDefinition
java.lang.Object
org.springframework.beans.factory.parsing.AbstractComponentDefinition
- All Implemented Interfaces:
- BeanMetadataElement,- ComponentDefinition
- Direct Known Subclasses:
- AdvisorComponentDefinition,- CompositeComponentDefinition,- PointcutComponentDefinition
Base implementation of 
ComponentDefinition that provides a basic implementation of
 getDescription() which delegates to ComponentDefinition.getName(). Also provides a base implementation
 of toString() which delegates to getDescription() in keeping with the recommended
 implementation strategy. Also provides default implementations of getInnerBeanDefinitions()
 and getBeanReferences() that return an empty array.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns an empty array.Returns an empty array.Delegates toComponentDefinition.getName().Returns an empty array.toString()Delegates togetDescription().Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.beans.BeanMetadataElementgetSourceMethods inherited from interface org.springframework.beans.factory.parsing.ComponentDefinitiongetName
- 
Constructor Details- 
AbstractComponentDefinitionpublic AbstractComponentDefinition()
 
- 
- 
Method Details- 
getDescriptionDelegates toComponentDefinition.getName().- Specified by:
- getDescriptionin interface- ComponentDefinition
 
- 
getBeanDefinitionsReturns an empty array.- Specified by:
- getBeanDefinitionsin interface- ComponentDefinition
- Returns:
- the array of BeanDefinitions, or an empty array if none
 
- 
getInnerBeanDefinitionsReturns an empty array.- Specified by:
- getInnerBeanDefinitionsin interface- ComponentDefinition
- Returns:
- the array of BeanDefinitions, or an empty array if none
 
- 
getBeanReferencesReturns an empty array.- Specified by:
- getBeanReferencesin interface- ComponentDefinition
- Returns:
- the array of BeanReferences, or an empty array if none
 
- 
toStringDelegates togetDescription().
 
-