摘要: 获取ApplicationContext @AutowiredApplicationContext applicationContext;使用applicationContext中的getBeansOfType方法可以拿到一个Map这个map的key就是bean的名称,value就是对象,这里的va 阅读全文
posted @ 2022-09-14 13:33 晚灯 阅读(872) 评论(0) 推荐(0) 编辑