You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
InjectionPoint/DependencyDescriptor as injectable argument for @Bean methods [SPR-14033] #18605
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.
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?
Activity
EndzeitBegins commentedon 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?