org.springframework.context.annotation

## 接口 AnnotationConfigRegistry

- 所有已知实现类:
    AnnotationConfigApplicationContext

      public interface AnnotationConfigRegistry

  Common interface for annotation config application contexts, defining `register(java.lang.Class<?>...)` and `scan(java.lang.String...)` methods.
  从以下版本开始:
    4.1
  作者:
    Juergen Hoeller

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `register(Class<?>... annotatedClasses)` Register one or more annotated classes to be processed.
    `void` | `scan(String... basePackages)` Perform a scan within the specified base packages.

- - ### 方法详细资料

    - #### register

          void register(Class<?>... annotatedClasses)

      Register one or more annotated classes to be processed.

      Calls to `register` are idempotent; adding the same annotated class more than once has no additional effect.

      参数:
        `annotatedClasses` - one or more annotated classes, e.g. `@Configuration` classes

    - #### scan

          void scan(String... basePackages)

      Perform a scan within the specified base packages.
      参数:
        `basePackages` - the packages to check for annotated classes