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

InjectionPoint/DependencyDescriptor as injectable argument for @Bean methods [SPR-14033] #18605

spring-projects-issues opened this issue Mar 9, 2016 · 1 comment
type: enhancement A general enhancement


Copy link

spring-projects-issues commented Mar 9, 2016

Juergen Hoeller opened SPR-14033 and commented

As of 4.3, we have a rather simple InjectionPoint class as a base class for DependencyDescriptor, primarily used for exception reporting purposes. However, it would also be well suited as an argument for @Bean methods, along the lines of the CDI InjectionPoint argument on an @Produces method.

This has been raised in a comment on our recent 4.3 core container blog post:
A CDI example raised there:

Issue Links:

Referenced from: commits a95bf6e

Copy link

EndzeitBegins commented Nov 18, 2021

While trying to migrate our Beans to the function bean definition DSL, we failed to migrate Beans that rely on an InjectionPoint for their creation.
More information can be found in this question on StackOverflow

Does Spring support this use case yet? Either by providing the InjectionPoint oder accessing the required information otherwise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
type: enhancement A general enhancement
None yet

No branches or pull requests

3 participants