@Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
The @Configuration annotation indicates that the class it annotates is a configuration class that will provide [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Beans|beans]] to the Spring [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Application_Context|application context]]. | The @Configuration annotation indicates that the class it annotates is a configuration class that will provide [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Beans|beans]] to the Spring [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Application_Context|application context]]. @Configuration triggers the configuration of the Spring infrastructure. | ||
@Configuration triggers the configuration of the Spring infrastructure. |
Revision as of 20:39, 4 November 2018
Internal
Overview
The @Configuration annotation indicates that the class it annotates is a configuration class that will provide beans to the Spring application context. @Configuration triggers the configuration of the Spring infrastructure.