-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improvements to runtime annotation processors #12068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 5.0.x
Are you sure you want to change the base?
Conversation
|
Given the disruption this is likely to cause we need to think whether the change is worth it. Can you clarify what quality of live improvements will come out of merging the PR? Thanks |
|
The main problem is that now
The second scenario is exactly what is Because we cannot tell which scenario is required we endup invoking both sometimes: |
|
Restored the previous behaviour with a warning at runtime. |
|




Revisited interfaces to process annotated beans / methods:
ExecutableMethodProcessorshould only be used for executable methods annotated for processing at startupBeanDefinitionProcessor@Parallelno longer supported for parallel processing ofExecutableMethodProcessorBefore this changes getting
ExecutableMethodProcessorfor startup processing will trigger the search for all the beans annotated with that annotation - unnesessary overhead.This will require some of our modules (variations of messaging) to migrate to
BeanDefinitionProcessor