Issue: SPR-17572
This commit is contained in:
Stephane Nicoll 2018-12-07 10:54:03 +01:00
parent aaaf81ed99
commit 54f5b7d0ee
1 changed files with 4 additions and 1 deletions

View File

@ -6265,7 +6265,10 @@ metadata is provided per-instance rather than per-class.
While classpath scanning is very fast, it is possible to improve the startup performance
of large applications by creating a static list of candidates at compilation time. In this
mode, all modules of the application must use this mechanism as, when the
mode, all modules that are target of component scan must use this mechanism.
NOTE: Your existing `@ComponentScan` or `<context:component-scan` directives must stay as
is to request the context to scan candidates in certain packages. when the
`ApplicationContext` detects such an index, it automatically uses it rather than scanning
the classpath.