Improve documentation regarding "annotated classes"

See gh-23638
This commit is contained in:
Sam Brannen
2019-09-25 13:29:17 +02:00
parent e9dc5160b9
commit 7d126d3288
11 changed files with 202 additions and 183 deletions

View File

@@ -7561,7 +7561,7 @@ This approach simplifies container instantiation, as only one class needs to be
with, rather than requiring you to remember a potentially large number of
`@Configuration` classes during construction.
TIP: As of Spring Framework 4.2, `@Import` also supports references regular component
TIP: As of Spring Framework 4.2, `@Import` also supports references to regular component
classes, analogous to the `AnnotationConfigApplicationContext.register` method.
This is particularly useful if you want to avoid component scanning, by using a few
configuration classes as entry points to explicitly define all your components.