单项选择题

A.@Autowired默认按照byType方式进行bean匹配
B.@Resource默认按照autodetect方式进行bean匹配
C.@Autowired是Spring的注解
D.@Resource是J2EE的注解