随笔分类 -  Spring

摘要:根据Spring Xml配置文件获取bean对象 private ApplicationContext ac = new FileSystemXmlApplicationContext("classpath:spring/spring-redis.xml"); private RedisNodesM 阅读全文
posted @ 2016-08-17 10:26 ForeverLover 阅读(153) 评论(0) 推荐(0)
摘要:在讲解Spring依赖注入之前的准备工作:下载包含Spring的工具jar包的压缩包解压缩下载下来的Spring压缩包文件解压缩之后我们会看到libs文件夹下有许多jar包,而我们只需要其中的commons-logging-1.0.4.jar,spring-beans-4.2.1.RELEASE.j... 阅读全文
posted @ 2015-10-11 21:29 ForeverLover 阅读(1240) 评论(0) 推荐(0)