public interface

AnnotatedBeanDefinition

implements BeanDefinition
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
Known Indirect Subclasses

Class Overview

Extended BeanDefinition interface that exposes AnnotationMetadata about its bean class - without requiring the class to be loaded yet.

Summary

[Expand]
Inherited Constants
From interface org.springframework.beans.factory.config.BeanDefinition
Public Methods
abstract AnnotationMetadata getMetadata()
Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.
[Expand]
Inherited Methods
From interface org.springframework.beans.BeanMetadataElement
From interface org.springframework.beans.factory.config.BeanDefinition
From interface org.springframework.core.AttributeAccessor

Public Methods

public abstract AnnotationMetadata getMetadata ()

Also: SpringBeans

Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.

Returns
  • the annotation metadata object (never null)