Skip to content

Commit 9273611

Browse files
authored
Merge pull request Snailclimb#1564 from macEngine/patch-1
Update spring-common-annotations.md
2 parents 7550c29 + ffc79bb commit 9273611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/system-design/framework/spring/spring-common-annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public Person personSingleton() {
125125
- singleton : 唯一 bean 实例,Spring 中的 bean 默认都是单例的。
126126
- prototype : 每次请求都会创建一个新的 bean 实例。
127127
- request : 每一次 HTTP 请求都会产生一个新的 bean,该 bean 仅在当前 HTTP request 内有效。
128-
- session : 每一次 HTTP 请求都会产生一个新的 bean,该 bean 仅在当前 HTTP session 内有效。
128+
- session : 每一个 HTTP Session 会产生一个新的 bean,该 bean 仅在当前 HTTP session 内有效。
129129

130130
#### 2.5. `@Configuration`
131131

0 commit comments

Comments
 (0)