open class AnnotationScopeMetadataResolver : ScopeMetadataResolver
A ScopeMetadataResolver implementation that by default checks for the presence of Spring's Scope annotation on the bean class.
The exact type of annotation that is checked for is configurable via #setScopeAnnotationType(Class).
Author
Mark Fisher
Author
Juergen Hoeller
Author
Sam Brannen
Since
2.5
See Also
org.springframework.context.annotation.Scope
AnnotationScopeMetadataResolver()
Construct a new AnnotationScopeMetadataResolver(defaultProxyMode: ScopedProxyMode)
Construct a new |
open fun resolveScopeMetadata(definition: BeanDefinition): ScopeMetadata |
|
open fun setScopeAnnotationType(scopeAnnotationType: Class<out Annotation>): Unit
Set the type of annotation that is checked for by this |