當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
Example of BeanFactoryAware in Spring--转
生活随笔
收集整理的這篇文章主要介紹了
Example of BeanFactoryAware in Spring--转
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
原文地址:http://www.concretepage.com/spring/example_beanfactoryaware_spring
If a bean in spring implements BeanFactoryAware then that bean has to implement a method that issetBeanFactory. And when that bean is loaded in spring container, setBeanFactory is called. BeanFactoryAware belongs to the package org.springframework.beans.factory. BeanFactoryAware awares the bean for its BeanFactory.?
A.java
app-conf.xml
SpringTest.java
Output
?
轉載于:https://www.cnblogs.com/davidwang456/p/5555374.html
總結
以上是生活随笔為你收集整理的Example of BeanFactoryAware in Spring--转的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Microservices Refere
- 下一篇: gradle idea java ssm