File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
spring-context/src/main/java/org/springframework/context/annotation Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 83
83
*
84
84
* <h3>Via component scanning</h3>
85
85
*
86
- * <p>{@code @Configuration} is meta-annotated with {@link Component @Component}, therefore
87
- * {@code @Configuration} classes are candidates for component scanning (typically using
88
- * Spring XML's {@code <context:component-scan/>} element) and therefore may also take
86
+ * <p>Since {@code @Configuration} is meta-annotated with {@link Component @Component},
87
+ * {@code @Configuration} classes are candidates for component scanning —
88
+ * for example, using {@link ComponentScan @ComponentScan} or Spring XML's
89
+ * {@code <context:component-scan/>} element — and therefore may also take
89
90
* advantage of {@link Autowired @Autowired}/{@link jakarta.inject.Inject @Inject}
90
- * like any regular {@code @Component}. In particular, if a single constructor is present
91
- * autowiring semantics will be applied transparently for that constructor:
91
+ * like any regular {@code @Component}. In particular, if a single constructor is
92
+ * present, autowiring semantics will be applied transparently for that constructor:
92
93
*
93
94
* <pre class="code">
94
95
* @Configuration
You can’t perform that action at this time.
0 commit comments