@Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:


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.

Revision as of 22:03, 23 October 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.