注释类型 ComponentScans
@Retention(RUNTIME) @Target(TYPE) @Documented public @interface ComponentScans
Container annotation that aggregates severalComponentScan
annotations.Can be used natively, declaring several nested
ComponentScan
annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, whereComponentScan
can simply be declared several times on the same method, implicitly generating this container annotation.- 从以下版本开始:
- 4.3
- 作者:
- Juergen Hoeller
- 另请参阅:
ComponentScan
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 ComponentScan[]
value
元素详细资料
value
ComponentScan[] value