@EnableConfigurationProperties: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Spring Boot Property Injection")
 
Line 2: Line 2:


* [[Spring_Boot_Property_Injection#.40EnableConfigurationProperties|Spring Boot Property Injection]]
* [[Spring_Boot_Property_Injection#.40EnableConfigurationProperties|Spring Boot Property Injection]]
=Overview=
Can be used to register classes that are not components, yet still want to take advantage of [[@ConfigurationProperties]] mechanism. If a regular component is annotated with [[@ConfigurationProperties]], it does not need help from @EnableConfigurationProperties.

Revision as of 20:51, 5 December 2018

Internal

Overview

Can be used to register classes that are not components, yet still want to take advantage of @ConfigurationProperties mechanism. If a regular component is annotated with @ConfigurationProperties, it does not need help from @EnableConfigurationProperties.