IpText

import org.springframework.web.*; public IpText{ public static void main(String args[]){ BeanFactory bf = new ClassPathXmlApplicationContext("applicationContext.xml"); Object b = bf.getBeans("Name); System.out.println(b.toString()); } } a...
2011-08-25 15:13 | 阅读 639 次 | 评论 0 条

bean

1.create BeanFactory 2.DI For Example 3.equip applicationContext.xml <beans> <bean id="guotong" class=www.xxx.com/> <property value="border" name="admin"/> <property value="parking" name="parking"/> <property value="car" name="car"/> <property value="bus...
2011-08-18 16:40 | 阅读 551 次 | 评论 0 条
浏览9471次
文章归档
最新评论