@ComponentScan: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=External=
=External=


* https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/ComponentScan.html


=Internal=
=Internal=
Line 10: 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