A.@Autowired用于对Bean的属性变量、属性的setter方法及构造方法进行标注,配合对应的注解处理器完成Bean的自动配置工作,默认按照Bean的名称进行装配
B.@Repository用于将数据访问层(DAO层)的类标识为Spring中的Bean
C.@Service通常作用在业务层(Service层),用于将业务层的类标识为Spring中的Bean
D.@Controller通常作用在控制层(如Spring.MVC的Controller),用于将控制层的类标识为Spring中的Bean
Susan:That’s a beautiful skirt you have.on!
Lily:__________.
A.Actually,I don’t like it very much
B.Oh,thank you.I just got it yesterday
C.Yes.But it isn’t SO as you said
D.N0,it’s not that beautiful.Yours is better