@ComponentTypeScan @Documented @Target(value={ANNOTATION_TYPE,TYPE}) @Retention(value=RUNTIME) @Import(value=ScannedContainerRegistrar.class) public @interface ContainerConstantScan
| 限定符和类型 | 可选元素和说明 |
|---|---|
Class<?>[] |
excludeClasses
The class type which will not be scanned,
it will exclude the class type which is specified in
includeClasses(). |
Class<?>[] |
includeClasses
The class type which will be scanned.
|
String[] |
includePackages
The package path which will be scanned.
|
@AliasFor(value="includePackages",
annotation=ComponentTypeScan.class)
public abstract String[] includePackages
@AliasFor(value="includeClasses",
annotation=ComponentTypeScan.class)
public abstract Class<?>[] includeClasses
@AliasFor(value="excludeClasses",
annotation=ComponentTypeScan.class)
public abstract Class<?>[] excludeClasses
includeClasses().Copyright © 2023. All rights reserved.