## 类的使用
org.springframework.context.annotation.ScopedProxyMode

- 使用ScopedProxyMode的程序包
  程序包 | 说明
  --- | ---
  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.

- - ### org.springframework.context.annotation中ScopedProxyMode的使用

    返回ScopedProxyMode的org.springframework.context.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ScopedProxyMode` | ScopeMetadata.`getScopedProxyMode()` Get the proxy-mode to be applied to the scoped instance.
    `static ScopedProxyMode` | ScopedProxyMode.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static ScopedProxyMode[]` | ScopedProxyMode.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为ScopedProxyMode的org.springframework.context.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `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.

    参数类型为ScopedProxyMode的org.springframework.context.annotation中的构造器
    构造器和说明
    `AnnotationScopeMetadataResolver(ScopedProxyMode defaultProxyMode)` Construct a new `AnnotationScopeMetadataResolver` using the supplied default `ScopedProxyMode`.