Spring Aware接口
摘要:
实现aware接口的bean必须在spring的xml文件中注册,由spring的IOC容器管理 1-ApplicationContextAware接口 可以获取spring的IOC容器 2-BeanNameAware接口 可以获取该bean类在spring容器中的名称 阅读全文
posted @ 2019-01-03 21:12 frank_cui 阅读(175) 评论(0) 推荐(0)
posted @ 2019-01-03 21:12 frank_cui 阅读(175) 评论(0) 推荐(0)
posted @ 2019-01-03 20:56 frank_cui 阅读(139) 评论(0) 推荐(0)
posted @ 2019-01-03 20:26 frank_cui 阅读(177) 评论(0) 推荐(0)