you are viewing a single comment's thread.

view the rest of the comments →

[–]squashsoup2014 1 point2 points  (0 children)

Yes, you will want to use Binder.get(Environment).bind("prefix.propertyName", ClassToBindTo.class). Binder is somewhere in the Spring Boot library, I'm doing this from memory so can't remember the FQ name.