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