|
|
@ -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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
`ApplicationContext` detects such an index, it automatically uses it rather than scanning |
|
|
|
the classpath. |
|
|
|
the classpath. |
|
|
|
|
|
|
|
|
|
|
|