Spring中构造器、init-method、@PostConstruct、afterPropertiesSet孰先孰后,自动注入发生时间

执行顺序:构造器-->自动注入-->PostConstrut-->InitializingBean-->xml中配置init方法

posted @ 2019-06-23 12:36  家有小壮壮、  阅读(1240)  评论(0编辑  收藏  举报