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.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.-
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. -
Uses of ScopeMetadataResolver in org.springframework.web.context.support
Modifier and TypeMethodDescriptionprotected ScopeMetadataResolver
AnnotationConfigWebApplicationContext.getScopeMetadataResolver()
Return the customScopeMetadataResolver
for use withAnnotatedBeanDefinitionReader
and/orClassPathBeanDefinitionScanner
, if any.Modifier and TypeMethodDescriptionvoid
AnnotationConfigWebApplicationContext.setScopeMetadataResolver
(ScopeMetadataResolver scopeMetadataResolver) Set a customScopeMetadataResolver
for use withAnnotatedBeanDefinitionReader
and/orClassPathBeanDefinitionScanner
.