mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-09 00:29:04 +00:00
Update `BeanDefinitionMethodGeneratorFactory` to not implicitly filter AOT processor beans if they also implement `BeanRegistrationExcludeFilter`. Most AOT processor beans generate code that replaces themselves, so implicitly filtering them is the right thing to do. However, some beans may need to perform AOT processing and still get registered when the AOT processed application runs. These beans can now additionally implement `BeanRegistrationExcludeFilter` to signal that they should not be implicitly filtered. Closes gh-28526