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
Add support for @Nonbinding in @jakarta.inject.Qualifier annotations #26302
In our project we reuse Java annotations across Framework boundaries (Spring/CDI/Micronaut). It turns our that Spring does not fully support the semantics of javax.inject.Qualifier annotations. Specifically, Spring Framework should support the marking of annotation fields with the @Nonbinding annotation. This would be especially useful when using @Bean methods together with org.springframework.beans.factory.InjectionPoint.
I have created a demo application to show the current behavior and desired behavior:
changed the title [-]Add Support for @NonBinding in javax.inject.Qualifier annotations[/-][+]Add support for `@NonBinding` in `@jakarta.inject.Qualifier` annotations[/+]on Jan 18, 2023
changed the title [-]Add support for `@NonBinding` in `@jakarta.inject.Qualifier` annotations[/-][+]Add support for `@Nonbinding` in `@jakarta.inject.Qualifier` annotations[/+]on Jan 18, 2023
changed the title [-]Add support for `@Nonbinding` in `@jakarta.inject.Qualifier` annotations[/-][+]Add support for @Nonbinding in @jakarta.inject.Qualifier annotations[/+]on Feb 14, 2024
Thanks for raising this, and sorry it has gone so long without a decision.
We're reviewing older issues to keep the tracker focused on work we can realistically plan. This request hasn't drawn much interest from the community and doesn't fit the current priorities, so we're declining it.
If it still matters to you on a current Spring Framework version, please add a comment with your use case and we can reconsider. A reproducer or concrete examples help a lot.
Activity
[-]Add Support for @NonBinding in javax.inject.Qualifier annotations[/-][+]Add support for `@NonBinding` in `@jakarta.inject.Qualifier` annotations[/+][-]Add support for `@NonBinding` in `@jakarta.inject.Qualifier` annotations[/-][+]Add support for `@Nonbinding` in `@jakarta.inject.Qualifier` annotations[/+][-]Add support for `@Nonbinding` in `@jakarta.inject.Qualifier` annotations[/-][+]Add support for @Nonbinding in @jakarta.inject.Qualifier annotations[/+]bclozel commentedon Oct 23, 2026
Thanks for raising this, and sorry it has gone so long without a decision.
We're reviewing older issues to keep the tracker focused on work we can realistically plan. This request hasn't drawn much interest from the community and doesn't fit the current priorities, so we're declining it.
If it still matters to you on a current Spring Framework version, please add a comment with your use case and we can reconsider. A reproducer or concrete examples help a lot.