Created
November 23, 2020 13:46
-
-
Save JJBRT/3aac08ea64f405665cfe3e6ef9be4b3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.di.framework.annotations; | |
import java.lang.annotation.*; | |
/** | |
* Service field variables should use this annotation | |
* This annotation Can be used to avoid conflict if there are multiple implementations of the same interface | |
*/ | |
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE }) | |
@Retention(RetentionPolicy.RUNTIME) | |
@Inherited | |
@Documented | |
public @interface Qualifier { | |
String value() default ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment