Browse Source

Clarify which part of @ConfigurationProperties is internal API

Closes gh-19199
pull/19556/head
Stephane Nicoll 6 years ago
parent
commit
2db2daeddf
  1. 4
      spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

4
spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

@ -793,9 +793,7 @@ The preceding POJO defines the following properties:
* `acme.security.password`. * `acme.security.password`.
* `acme.security.roles`, with a collection of `String`. * `acme.security.roles`, with a collection of `String`.
NOTE: Spring Boot auto-configuration heavily makes use of `@ConfigurationProperties` for easily configuring auto-configured beans. NOTE: The properties that map to `@ConfigurationProperties` classes available in Spring Boot, which are configured via properties files, YAML files, environment variables etc., are public API but the accessors (getters/setters) of the class itself are not meant to be used directly.
Similar to auto-configuration classes, `@ConfigurationProperties` classes available in Spring Boot are for internal use only.
The properties that map to the class, which are configured via properties files, YAML files, environment variables etc., are public API but the content of the class itself is not meant to be used directly.
[NOTE] [NOTE]
==== ====

Loading…
Cancel
Save