Class AbstractComponentDefinition

java.lang.Object
org.springframework.beans.factory.parsing.AbstractComponentDefinition
All Implemented Interfaces:
BeanMetadataElement, ComponentDefinition
Direct Known Subclasses:
AdvisorComponentDefinition, CompositeComponentDefinition, PointcutComponentDefinition

public abstract class AbstractComponentDefinition extends Object implements ComponentDefinition
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