随笔分类 -  框架

摘要:有时候在代码中,不希望使用自动注入,而是手动获取Spring容器以及Spring容器中的某个对象 1、首先写一个class实现ApplicationContextAware import org.springframework.beans.BeansException; import org.spr 阅读全文
posted @ 2020-11-19 14:00 青岑 阅读(877) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩