To externalize configuration properties in Spring Boot, the _____ annotation can be used on a configuration properties class.

  • @AutowiredConfig
  • @ConfigurationProperties
  • @ExternalizedConfig
  • @PropertySource
To externalize configuration properties in Spring Boot, the "@ConfigurationProperties" annotation is used on a configuration properties class. This annotation binds properties from the configuration files (such as "application.yml" or ".properties") to fields in the configuration class, allowing easy access to configuration values.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *