摘要: 前言 为了排查问题等一些原因需要查看Spring容器中Bean的使用情况,所以程序运行的过程中需要获取Bean的信息。 代码演示 @Component public class BeanUtil implements ApplicationContextAware { private Applica 阅读全文
posted @ 2021-04-20 20:01 加速丨世界 阅读(430) 评论(0) 推荐(0) 编辑