Skip to content
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

[spring framework 7] add support for indexing functional bean registrations via BeanRegistrar #1498

Closed
martinlippert opened this issue Mar 4, 2025 · 2 comments
Assignees
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring index & symbols type: enhancement

Comments

@martinlippert
Copy link
Member

There is a new way of registering beans in a functional way coming in Spring Framework 7.0, first to appear in M3:
spring-projects/spring-framework#18353 (comment)

We should add support for taking those bean definitions into account when indexing beans.

@martinlippert martinlippert added for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring index & symbols type: enhancement labels Mar 4, 2025
@martinlippert martinlippert added this to the 4.30.0.RELEASE milestone Mar 4, 2025
@martinlippert martinlippert self-assigned this Mar 4, 2025
@martinlippert martinlippert changed the title [spring indexing] add support for indexing functional bean registrations via BeanRegistrar [spring framework 7] add support for indexing functional bean registrations via BeanRegistrar Mar 4, 2025
@martinlippert
Copy link
Member Author

This is almost complete. The remaining piece is to change the indexer for the bean registrar to not create a bean element for the registrar itself anymore, but a specific bean registrar one instead, so that the bean registrar is not regarded as a regular bean by the rest of the tooling.

martinlippert added a commit that referenced this issue Mar 25, 2025
@martinlippert
Copy link
Member Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring index & symbols type: enhancement
Projects
None yet
Development

No branches or pull requests

1 participant