Annotation Interface ComponentScans


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ComponentScans
Container annotation that aggregates several ComponentScan annotations.

Can be used natively, declaring several nested ComponentScan annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where ComponentScan can simply be declared several times on the same method, implicitly generating this container annotation.

从以下版本开始:
4.0
作者:
Juergen Hoeller
另请参阅:
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明