| 程序包 | 说明 |
|---|---|
| org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ScopedProxyMode |
ScopeMetadata.getScopedProxyMode()
Get the proxy-mode to be applied to the scoped instance.
|
static ScopedProxyMode |
ScopedProxyMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ScopedProxyMode[] |
ScopedProxyMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ClassPathBeanDefinitionScanner.setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Specify the proxy behavior for non-singleton scoped beans.
|
void |
ScopeMetadata.setScopedProxyMode(ScopedProxyMode scopedProxyMode)
Set the proxy-mode to be applied to the scoped instance.
|
| 构造器和说明 |
|---|
AnnotationScopeMetadataResolver(ScopedProxyMode defaultProxyMode)
Construct a new
AnnotationScopeMetadataResolver using the
supplied default ScopedProxyMode. |