@ContainerConstantScan @Documented @Target(value={ANNOTATION_TYPE,TYPE}) @Retention(value=RUNTIME) @Import(value=ScannedContainerRegistrar.class) public @interface ContainerEnumScan
| 限定符和类型 | 可选元素和说明 |
|---|---|
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.
|
boolean |
isOnlyLoadAnnotatedEnum
Whether to only load the enum which is annotated by
ContainerEnum. |
public abstract boolean isOnlyLoadAnnotatedEnum
ContainerEnum.@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 © 2024. All rights reserved.