@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface ComponentScans
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.
ComponentScan| 限定符和类型 | 必需的元素和说明 |
|---|---|
ComponentScan[] |
value |
public abstract ComponentScan[] value