一个Spring框架demo,实现IoC的简单方法,体现scope属性值以及初始化,销毁对象;四个功能体现
1.test1的testMain类(实现IoC的简单方法:对象交给容器控制,而不是传统在对象内部直接控制) 效果图:

2.test2的testMain类(scope属性值:singleton)效果图:

GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GitHub - java-community/Spring-Demo: 一个Spring框架demo,实现IoC的简单方法,体现scope属性值以及初始化,销毁对象;四个功能体现 |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |