spring依赖注入原理的简单模拟

配置文件:

读取并解析xml:

UserAction代码:

运行,控制台输出:

 
0
posted @ 2017-05-16 11:06  eaglepan  阅读(112)  评论(0编辑  收藏  举报