org.springframework.beans.factory.parsing

Interface ComponentDefinition

    • Method Detail

      • getName

        java.lang.String getName()
        Get the user-visible name of this ComponentDefinition.

        This should link back directly to the corresponding configuration data for this component in a given context.

      • getDescription

        java.lang.String getDescription()
        Return a friendly description of the described component.

        Implementations are encouraged to return the same value from toString().

      • getBeanDefinitions

        BeanDefinition[] getBeanDefinitions()
        Return the BeanDefinitions 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 getBeanReferences().

        Returns:
        the array of BeanDefinitions, or an empty array if none
      • getInnerBeanDefinitions

        BeanDefinition[] getInnerBeanDefinitions()
        Return the BeanDefinitions 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.

        Returns:
        the array of BeanDefinitions, or an empty array if none
      • getBeanReferences

        BeanReference[] getBeanReferences()
        Return the set of BeanReferences 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.

        Returns:
        the array of BeanReferences, or an empty array if none