public class BeanComponentDefinition extends BeanDefinitionHolder implements ComponentDefinition
| Constructor and Description | 
|---|
| BeanComponentDefinition(BeanDefinitionHolder beanDefinitionHolder)Create a new BeanComponentDefinition for the given bean. | 
| BeanComponentDefinition(BeanDefinition beanDefinition,
                       String beanName)Create a new BeanComponentDefinition for the given bean. | 
| BeanComponentDefinition(BeanDefinition beanDefinition,
                       String beanName,
                       String[] aliases)Create a new BeanComponentDefinition for the given bean. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other)This implementations expects the other object to be of type BeanComponentDefinition
 as well, in addition to the superclass's equality requirements. | 
| BeanDefinition[] | getBeanDefinitions()Return the  BeanDefinitionsthat were registered
 to form thisComponentDefinition. | 
| BeanReference[] | getBeanReferences()Return the set of  BeanReferencesthat are considered
 to be important to thisComponentDefinition. | 
| String | getDescription()Return a friendly description of the described component. | 
| BeanDefinition[] | getInnerBeanDefinitions()Return the  BeanDefinitionsthat represent all relevant
 inner beans within this component. | 
| String | getName()Get the user-visible name of this  ComponentDefinition. | 
| String | toString()This implementation returns this ComponentDefinition's description. | 
getAliases, getBeanDefinition, getBeanName, getLongDescription, getShortDescription, getSource, hashCode, matchesNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSourcepublic BeanComponentDefinition(BeanDefinition beanDefinition, String beanName)
beanDefinition - the BeanDefinitionbeanName - the name of the beanpublic BeanComponentDefinition(BeanDefinition beanDefinition, String beanName, @Nullable String[] aliases)
beanDefinition - the BeanDefinitionbeanName - the name of the beanaliases - alias names for the bean, or null if nonepublic BeanComponentDefinition(BeanDefinitionHolder beanDefinitionHolder)
beanDefinitionHolder - the BeanDefinitionHolder encapsulating
 the bean definition as well as the name of the beanpublic String getName()
ComponentDefinitionComponentDefinition.
 This should link back directly to the corresponding configuration data for this component in a given context.
getName in interface ComponentDefinitionpublic String getDescription()
ComponentDefinitionImplementations are encouraged to return the same value from
 toString().
getDescription in interface ComponentDefinitionpublic BeanDefinition[] getBeanDefinitions()
ComponentDefinitionBeanDefinitions that were registered
 to form this ComponentDefinition.
 It should be noted that a ComponentDefinition may well be related with
 other BeanDefinitions via references,
 however these are not included as they may be not available immediately.
 Important BeanReferences are available from ComponentDefinition.getBeanReferences().
getBeanDefinitions in interface ComponentDefinitionpublic BeanDefinition[] getInnerBeanDefinitions()
ComponentDefinitionBeanDefinitions that represent all relevant
 inner beans within this component.
 Other inner beans may exist within the associated BeanDefinitions,
 however these are not considered to be needed for validation or for user visualization.
getInnerBeanDefinitions in interface ComponentDefinitionpublic BeanReference[] getBeanReferences()
ComponentDefinitionBeanReferences that are considered
 to be important to this ComponentDefinition.
 Other BeanReferences may exist within the associated
 BeanDefinitions, however these are not considered
 to be needed for validation or for user visualization.
getBeanReferences in interface ComponentDefinitionpublic String toString()
toString in class BeanDefinitionHoldergetDescription()public boolean equals(@Nullable
                      Object other)
equals in class BeanDefinitionHolder