Commit c4cb8317 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent afadac27
...@@ -891,8 +891,8 @@ be used by IDEs. See the <<configuration-metadata>> appendix for details. ...@@ -891,8 +891,8 @@ be used by IDEs. See the <<configuration-metadata>> appendix for details.
[[boot-features-external-config-3rd-party-configuration]] [[boot-features-external-config-3rd-party-configuration]]
==== Third-party configuration ==== Third-party configuration
As well as using `@ConfigurationProperties` to annotate a class, you can also use it As well as using `@ConfigurationProperties` to annotate a class, you can also use it
on `@Bean` methods. This can be particularly useful when you want to bind properties to on public `@Bean` methods. This can be particularly useful when you want to bind
third-party components that are outside of your control. properties to third-party components that are outside of your control.
To configure a bean from the `Environment` properties, add `@ConfigurationProperties` to To configure a bean from the `Environment` properties, add `@ConfigurationProperties` to
its bean registration: its bean registration:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment