This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Spring框架 | |
| Spring是为了解决企业开发的难度的 减轻对项目模块之间的管理 类和类之间的管理 帮助开发人员创建对象 管理对象之间的关系 | |
| <<!! Spring的核心: ioc , aop 能实现模块之间 类之间的解耦合 !!>> | |
| 概述: | |
| Spring本质上就是一个"Map"容器 在Spring配置文件的<bean id="" class="">中 指定要使用的类的路径 Spring就会把这个类路径 | |
| 作为map的value值保存到一个map集合中。这个map集合的key值就是<bean>中自定义的id属性 value值就是<bean>中的class属性 Spring执行时 | |
| 会把自动把这个value值创建为一个对象 当调用这个容器的key值时 就可以获得这个由Spring创建好的对象 |