注释类型 BeanScan

    • 元素详细资料

      • basePackages

        String[] basePackages
        扫描的包路径
        返回:
        默认值:
        {}
      • basePackageClasses

        Class<?>[] basePackageClasses
        Type-safe alternative to basePackages() 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.

        默认值:
        {}