Spring - Spring注解汇总
摘要:***前提*** 1-在springcontext-xml里,开启注解 2- ***生命周期相关*** @PostConstruct 在Spring中,在初始化一个对象时,执行顺序为 Constructor() >> @Autowired >> @PostConstruct 其实从依赖注入的字面意思
阅读全文
posted @ 2020-11-05 00:41
posted @ 2020-11-05 00:41
posted @ 2019-12-14 19:11
posted @ 2019-12-14 19:10
posted @ 2019-12-07 22:36