Uses of Interface
org.springframework.context.annotation.ScopeMetadataResolver
Package
Description
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
-
Uses of ScopeMetadataResolver in org.springframework.context.annotation
Modifier and TypeClassDescriptionclass
AScopeMetadataResolver
implementation that by default checks for the presence of Spring's@Scope
annotation on the bean class.class
SimpleScopeMetadataResolver
implementation that follows JSR-330 scoping rules: defaulting to prototype scope unlessSingleton
is present.Modifier and TypeMethodDescriptionvoid
AnnotatedBeanDefinitionReader.setScopeMetadataResolver
(ScopeMetadataResolver scopeMetadataResolver) Set theScopeMetadataResolver
to use for registered component classes.void
AnnotationConfigApplicationContext.setScopeMetadataResolver
(ScopeMetadataResolver scopeMetadataResolver) Set theScopeMetadataResolver
to use for registered component classes.void
ClassPathBeanDefinitionScanner.setScopeMetadataResolver
(ScopeMetadataResolver scopeMetadataResolver) Set the ScopeMetadataResolver to use for detected bean classes.