open class ScannedGenericBeanDefinition : GenericBeanDefinition, AnnotatedBeanDefinition
Extension of the org.springframework.beans.factory.support.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.
Author
Juergen Hoeller
Author
Chris Beams
Since
2.5
See Also
#getMetadata()#getBeanClassName()org.springframework.core.type.classreading.MetadataReaderFactoryAnnotatedGenericBeanDefinition
ScannedGenericBeanDefinition(metadataReader: MetadataReader)
Create a new ScannedGenericBeanDefinition for the class that the given MetadataReader describes. |
open fun getFactoryMethodMetadata(): MethodMetadata |
|
fun getMetadata(): AnnotationMetadata |
open fun cloneBeanDefinition(): AbstractBeanDefinition |
|
open fun equals(other: Any?): Boolean |
|
open fun getParentName(): String |
|
open fun setParentName(parentName: String): Unit |
|
open fun toString(): String |