摘要:
1.@Component 2.@Repository 3.@Controller 4.@Service 5.@Autowired @Autowired注解是按类型装配依赖对象,默认情况下它要求依赖对象必须存在,如果允许null值,可以设置它required属性为false。 6.@Resource 阅读全文
posted @ 2020-06-28 10:43
nxf_rabbit75
阅读(182)
评论(0)
推荐(0)