Programmatically using Qualifiers #6338
-
I cannot seem to find any examples on how to programmatically use qualifiers to get particular beans/bean definitions. As an example, suppose I have an annotation like the following: @Qualifier
@Retention(RetentionPolicy.RUNTIME)
public @interface SubcommandOf {
Class<?> value();
} How can I define qualifiers to have
Note: I'm new to Micronaut, but have extensive experience with Spring DI. |
Beta Was this translation helpful? Give feedback.
Answered by
graemerocher
Oct 15, 2021
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rsenden
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Qualifiers.byStereotype(SubcommandOf.class)