注释类型 BeanScan
-
@Target(TYPE) @Retention(RUNTIME) public @interface BeanScan
放入容器指示扫描加载路径的注解
- 作者:
- wb-xzc291800
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 Class<?>[]basePackageClassesType-safe alternative tobasePackages()for specifying the packages to scan for annotated components.String[]basePackages扫描的包路径
-
-
-
元素详细资料
-
basePackages
String[] basePackages
扫描的包路径- 返回:
- 默认值:
- {}
-
-
-
basePackageClasses
Class<?>[] basePackageClasses
Type-safe alternative tobasePackages()for specifying the packages to scan for annotated components. The package of each class specified will be scanned.Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.
- 默认值:
- {}
-
-