@Documented @Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public @interface ComponentTypeScan
ComponentTypeScan
as a meta-annotation can provide some scanning configuration,
from which ContainerResolveUtils.resolveComponentTypesFromMetadata(org.springframework.core.annotation.AnnotationAttributes, cn.crane4j.extension.spring.scanner.ClassScanner, org.springframework.util.StringValueResolver) can obtain
the type of Crane4j component that needs to be parsed.| 限定符和类型 | 可选元素和说明 |
|---|---|
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.
|
public abstract String[] includePackages
public abstract Class<?>[] includeClasses
public abstract Class<?>[] excludeClasses
includeClasses().Copyright © 2024. All rights reserved.