org.springframework.beans.factory.annotation

Interface AnnotatedBeanDefinition

    • Method Detail

      • getMetadata

        AnnotationMetadata getMetadata()
        Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.
        Returns:
        the annotation metadata object (never null)
      • getFactoryMethodMetadata

        @Nullable
        MethodMetadata getFactoryMethodMetadata()
        Obtain metadata for this bean definition's factory method, if any.
        Returns:
        the factory method metadata, or null if none
        Since:
        4.1.1