注释类型 EnableAutoConfigScan

    • 元素详细资料

      • value

        @AliasFor("basePackages")
        java.lang.String[] value
        Alias for the basePackages() attribute. Allows for more concise annotation declarations e.g.: @EnableAutoConfigScan("org.my.pkg") instead of @EnableAutoConfigScan(basePackages="org.my.pkg").
        返回:
        the base packages to scan
        默认值:
        {}
      • basePackages

        @AliasFor("value")
        java.lang.String[] basePackages
        Base packages to scan for entities. value() is an alias for (and mutually exclusive with) this attribute.

        Use basePackageClasses() for a type-safe alternative to String-based package names.

        返回:
        the base packages to scan
        另请参阅:
        ConfigSupport
        默认值:
        {}
      • basePackageClasses

        java.lang.Class<? extends ConfigSupport>[] basePackageClasses
        Type-safe alternative to basePackages() for specifying the packages to scan for entities. 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.

        返回:
        classes from the base packages to scan
        默认值:
        {}
      • requestMapping

        java.lang.String requestMapping
        Request mapping prefix. That's it @RequestMapping value, default /rest/config/.
        默认值:
        "/rest/config/"