File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
system-design/framework/spring Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Spring 官网列出的 Spring 的 6 个特征:
43
43
![ Spring主要模块] ( https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-6/Spring主要模块.png )
44
44
45
45
- ** Spring Core:** 基础,可以说 Spring 其他所有的功能都需要依赖于该类库。主要提供 IoC 依赖注入功能。
46
- - ** Spring Aspects ** : 该模块为与AspectJ的集成提供支持。
46
+ - ** Spring Aspects** : 该模块为与AspectJ的集成提供支持。
47
47
- ** Spring AOP** :提供了面向方面的编程实现。
48
48
- ** Spring JDBC** : Java数据库连接。
49
49
- ** Spring JMS** :Java消息服务。
@@ -227,7 +227,7 @@ public OneService getService(status) {
227
227
228
228
我们一般使用 ` @Autowired ` 注解自动装配 bean,要想把类标识成可用于 ` @Autowired ` 注解自动装配的 bean 的类,采用以下注解可实现:
229
229
230
- - ` @Component ` :通用的注解,可标注任意类为 ` Spring ` 组件。如果一个Bean不知道属于拿个层 ,可以使用` @Component ` 注解标注。
230
+ - ` @Component ` :通用的注解,可标注任意类为 ` Spring ` 组件。如果一个Bean不知道属于哪个层 ,可以使用` @Component ` 注解标注。
231
231
- ` @Repository ` : 对应持久层即 Dao 层,主要用于数据库相关操作。
232
232
- ` @Service ` : 对应服务层,主要涉及一些复杂的逻辑,需要用到 Dao层。
233
233
- ` @Controller ` : 对应 Spring MVC 控制层,主要用户接受用户请求并调用 Service 层返回数据给前端页面。
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ Git 有三种状态,你的文件可能处于其中之一:
112
112
2 . ** 已修改(modified)** :已修改表示修改了文件,但还没保存到数据库中。
113
113
3 . ** 已暂存(staged)** :表示对一个已修改文件的当前版本做了标记,使之包含在下次提交的快照中。
114
114
115
- 由此引入 Git 项目的三个工作区域的概念:** Git 仓库(.git directoty) ** 、** 工作目录(Working Directory)** 以及 ** 暂存区域(Staging Area)** 。
115
+ 由此引入 Git 项目的三个工作区域的概念:** Git 仓库(.git directoty)** 、** 工作目录(Working Directory)** 以及 ** 暂存区域(Staging Area)** 。
116
116
117
117
<div align =" center " >
118
118
<img src =" https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-3areas.png " width =" 500px " />
You can’t perform that action at this time.
0 commit comments