public interface AnnotatedBeanDefinition extends BeanDefinition
BeanDefinition
interface that exposes AnnotationMetadata
about its bean class - without requiring the class to be loaded yet.AnnotatedGenericBeanDefinition,
AnnotationMetadataROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON| Modifier and Type | Method and Description |
|---|---|
MethodMetadata |
getFactoryMethodMetadata()
Obtain metadata for this bean definition's factory method, if any.
|
AnnotationMetadata |
getMetadata()
Obtain the annotation metadata (as well as basic class metadata)
for this bean definition's bean class.
|
getBeanClassName, getConstructorArgumentValues, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResolvableType, getResourceDescription, getRole, getScope, hasConstructorArgumentValues, hasPropertyValues, isAbstract, isAutowireCandidate, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setDescription, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setLazyInit, setParentName, setPrimary, setRole, setScopeattributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttributegetSourceAnnotationMetadata getMetadata()
null)@Nullable MethodMetadata getFactoryMethodMetadata()
null if none