Spring Bean管理学习总结
2018-06-05 本文已影响0人
杨凯飞
Spring的工厂类

我们用的是ApplicationContext接口,具体的实现用的是ClassPathXmlApplicationContext(加载类路径下面的配置文件)、FileSystemXmlApplicationContext(加载文件系统中的配置文件,不在工厂里面,在某个盘符下面)。
FileSystemXmlApplicationContext


我们用的是ApplicationContext接口,具体的实现用的是ClassPathXmlApplicationContext(加载类路径下面的配置文件)、FileSystemXmlApplicationContext(加载文件系统中的配置文件,不在工厂里面,在某个盘符下面)。