Commit f58f23c5 authored by Stephane Nicoll's avatar Stephane Nicoll

Document that binder doesn't handle static properties

Closes gh-12912
parent 469ce570
...@@ -980,6 +980,9 @@ fly by using its default constructor, you need a setter. ...@@ -980,6 +980,9 @@ fly by using its default constructor, you need a setter.
Some people use Project Lombok to add getters and setters automatically. Make sure that Some people use Project Lombok to add getters and setters automatically. Make sure that
Lombok does not generate any particular constructor for such a type, as it is used Lombok does not generate any particular constructor for such a type, as it is used
automatically by the container to instantiate the object. automatically by the container to instantiate the object.
Finally, only standard Java Bean properties are considered and binding on static
properties are not supported.
==== ====
TIP: See also the <<boot-features-external-config-vs-value,differences between `@Value` TIP: See also the <<boot-features-external-config-vs-value,differences between `@Value`
......
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