会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不撞南墙
愿你拥抱每一个清晨~
博客园
首页
新随笔
联系
订阅
管理
2022年2月16日
Spring Boot启动时执行初始化的配置及顺序
摘要: 执行顺序为init2(PostConstruct注解) --> afterPropertiesSet(InitializingBean接口) --> init3(init-method配置) @PostConstruct对于注入到Spring容器中的类,在其成员函数前添加@PostConstruct
阅读全文
posted @ 2022-02-16 16:26 不撞南墙
阅读(2466)
评论(0)
推荐(0)
公告
Live2D