批注接口 Autowired
@Retention(RUNTIME)
@Target({CONSTRUCTOR,METHOD,PARAMETER,FIELD,ANNOTATION_TYPE})
public @interface Autowired
-
可选元素概要
可选元素
-
元素详细资料
-
required
boolean required- 默认值:
true
-
value
String value注入的bean.name- 返回:
- String
- 默认值:
""
-
true""