Interface AnnotatedBeanDefinition
- All Superinterfaces:
- AttributeAccessor,- BeanDefinition,- BeanMetadataElement
- All Known Implementing Classes:
- AnnotatedGenericBeanDefinition,- ScannedGenericBeanDefinition
Extended 
BeanDefinition
 interface that exposes AnnotationMetadata
 about its bean class - without requiring the class to be loaded yet.- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
- 
Field SummaryFields inherited from interface org.springframework.beans.factory.config.BeanDefinitionROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON
- 
Method SummaryModifier and TypeMethodDescriptionObtain metadata for this bean definition's factory method, if any.Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.Methods inherited from interface org.springframework.core.AttributeAccessorattributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttributeMethods inherited from interface org.springframework.beans.factory.config.BeanDefinitiongetBeanClassName, getConstructorArgumentValues, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResolvableType, getResourceDescription, getRole, getScope, hasConstructorArgumentValues, hasPropertyValues, isAbstract, isAutowireCandidate, isFallback, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setDescription, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setFallback, setInitMethodName, setLazyInit, setParentName, setPrimary, setRole, setScopeMethods inherited from interface org.springframework.beans.BeanMetadataElementgetSource
- 
Method Details- 
getMetadataAnnotationMetadata 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)
 
- 
getFactoryMethodMetadataObtain metadata for this bean definition's factory method, if any.- Returns:
- the factory method metadata, or nullif none
- Since:
- 4.1.1
 
 
-