Aware接口

2023-12-06  本文已影响0人  雨景江水

所有的 Aware 接口都是为了能让我们拿到容器中相关的资源,比如 BeanNameAwar,可以拿到 bean 的名称,ApplicationContextAware 可以拿到整个容器。

一.
https://blog.csdn.net/wujun2412/article/details/123426100
https://blog.csdn.net/wujun2412/article/details/123426100

上一篇 下一篇

猜你喜欢

热点阅读