public class ScannedGenericBeanDefinition extends GenericBeanDefinition implements AnnotatedBeanDefinition
GenericBeanDefinition
 class, based on an ASM ClassReader, with support for annotation metadata exposed
 through the AnnotatedBeanDefinition interface.
 This class does not load the bean Class early.
 It rather retrieves all relevant metadata from the ".class" file itself,
 parsed with the ASM ClassReader. It is functionally equivalent to
 AnnotatedGenericBeanDefinition.AnnotatedGenericBeanDefinition(AnnotationMetadata)
 but distinguishes by type beans that have been scanned vs those that have
 been otherwise registered or detected by other means.
getMetadata(), 
AbstractBeanDefinition.getBeanClassName(), 
MetadataReaderFactory, 
AnnotatedGenericBeanDefinition, 
Serialized FormAUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR, AUTOWIRE_NO, DEPENDENCY_CHECK_ALL, DEPENDENCY_CHECK_NONE, DEPENDENCY_CHECK_OBJECTS, DEPENDENCY_CHECK_SIMPLE, INFER_METHOD, SCOPE_DEFAULTROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON| Constructor and Description | 
|---|
ScannedGenericBeanDefinition(MetadataReader metadataReader)
Create a new ScannedGenericBeanDefinition for the class that the
 given MetadataReader describes. 
 | 
| 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. 
 | 
cloneBeanDefinition, equals, getParentName, setParentName, toStringaddQualifier, applyDefaults, clone, copyQualifiersFrom, getAutowireMode, getBeanClass, getBeanClassName, getConstructorArgumentValues, getDependencyCheck, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getMethodOverrides, getOriginatingBeanDefinition, getPropertyValues, getQualifier, getQualifiers, getResolvedAutowireMode, getResource, getResourceDescription, getRole, getScope, hasBeanClass, hasConstructorArgumentValues, hashCode, hasQualifier, isAbstract, isAutowireCandidate, isEnforceDestroyMethod, isEnforceInitMethod, isLazyInit, isLenientConstructorResolution, isNonPublicAccessAllowed, isPrimary, isPrototype, isSingleton, isSynthetic, overrideFrom, prepareMethodOverride, prepareMethodOverrides, resolveBeanClass, setAbstract, setAutowireCandidate, setAutowireMode, setBeanClass, setBeanClassName, setConstructorArgumentValues, setDependencyCheck, setDependsOn, setDescription, setDestroyMethodName, setEnforceDestroyMethod, setEnforceInitMethod, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setLazyInit, setLenientConstructorResolution, setMethodOverrides, setNonPublicAccessAllowed, setOriginatingBeanDefinition, setPrimary, setPropertyValues, setResource, setResourceDescription, setRole, setScope, setSynthetic, validateaddMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSourceattributeNames, copyAttributesFrom, hasAttributefinalize, getClass, notify, notifyAll, wait, wait, waitgetBeanClassName, 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, setScopeattributeNames, getAttribute, hasAttribute, removeAttribute, setAttributegetSourcepublic ScannedGenericBeanDefinition(MetadataReader metadataReader)
metadataReader - the MetadataReader for the scanned target classpublic final AnnotationMetadata getMetadata()
AnnotatedBeanDefinitiongetMetadata in interface AnnotatedBeanDefinitionnull)public MethodMetadata getFactoryMethodMetadata()
AnnotatedBeanDefinitiongetFactoryMethodMetadata in interface AnnotatedBeanDefinitionnull if none