spring框架總結

Spring思想: Ioc di aop   一、創建spring容器 a.從類路徑下加載配置文件: new ClassPathXmlApplicationContext(「classpath:applicationContext.xml」) b.從硬盤絕對路徑下加載配置文件: FileSystemXmlApplicationContext("d:/xxx/yyy/xxx") 創建對象的方式:  
相關文章
相關標籤/搜索