注释类型 Qualifier
@Target({FIELD,METHOD,PARAMETER,TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Inherited @Documented public @interface Qualifier
This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring. It may also be used to annotate other custom annotations that can then in turn be used as qualifiers.- 从以下版本开始:
- 2.5
- 作者:
- Mark Fisher, Juergen Hoeller
- 另请参阅:
Autowired