public interface AnnotatedBeanDefinition extends BeanDefinition
BeanDefinition
interface that exposes AnnotationMetadata
about its bean class - without requiring the class to be loaded yet.AnnotatedGenericBeanDefinition
,
AnnotationMetadata
ROLE_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, getFactoryBeanName, getFactoryMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResourceDescription, getRole, getScope, isAbstract, isAutowireCandidate, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setFactoryBeanName, setFactoryMethodName, setLazyInit, setParentName, setPrimary, setScope
attributeNames, getAttribute, hasAttribute, removeAttribute, setAttribute
getSource
AnnotationMetadata getMetadata()
null
)@Nullable MethodMetadata getFactoryMethodMetadata()
null
if none