ConfigurationPropertiesScan
Configures the base packages used when scanning for @ConfigurationProperties classes. One of basePackageClasses, basePackages or its alias value may be specified to define specific packages to scan. If specific packages are not defined scanning will occur from the package of the class with this annotation.
Note: Classes annotated or meta-annotated with @Component will not be picked up by this annotation.
Author
Madhura Bhave
Since
2.2.0
Functions
Link copied to clipboard
Link copied to clipboard
Type-safe alternative to basePackages for specifying the packages to scan for configuration properties.
Link copied to clipboard
Base packages to scan for configuration properties.