@ComponentScan: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/ComponentScan.html
=Internal=
=Internal=


* [[Spring Dependency Injection and Inversion of Control Container Concepts#@ComponentScan|Spring Dependency Injection and Inversion of Control Container Concepts]]
* [[@SpringBootApplication#Overview|@SpringBootApplication]]
* [[@SpringBootApplication#Overview|@SpringBootApplication]]


Line 6: Line 11:


Enables [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Component_Scanning|component scanning]].
Enables [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Component_Scanning|component scanning]].
=Organizatorium=
<syntaxhighlight lang='java'>
@ComponentScan(basePackages = {"***", "***"})
</syntaxhighlight>

Latest revision as of 01:27, 22 November 2018