This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 0b3cfdf04d [fix] 新增场景 (#1188)
0b3cfdf04d is described below
commit 0b3cfdf04dc1f02f91df9e94328deb9d902bb0e5
Author: JIAN ZHONG <[email protected]>
AuthorDate: Mon Jul 4 18:51:18 2022 +0800
[fix] 新增场景 (#1188)
---
.../java-sdk/advanced-features-and-usage/rpc/local-stub.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/local-stub.md
b/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/local-stub.md
index 1c34e0823f..272014d54c 100644
---
a/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/local-stub.md
+++
b/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/local-stub.md
@@ -9,12 +9,13 @@ description: "了解 Dubbo3 中本地存根在客户端执行部分逻辑的使
远程服务后,客户端通常只剩下接口,而实现全在服务器端,但提供方有些时候想在客户端也执行部分逻辑。
-比如:做 ThreadLocal 缓存,提前验证参数,调用失败后伪造容错数据等等,此时就需要在 API 中带上 Stub,客户端生成 Proxy 实例,会把
Proxy 通过构造函数传给 Stub [^1],然后把 Stub 暴露给用户,Stub 可以决定要不要去调 Proxy。

## 使用场景
+做 ThreadLocal 缓存,提前验证参数,调用失败后伪造容错数据等等,此时就需要在 API 中带上 Stub,客户端生成 Proxy 实例,会把
Proxy 通过构造函数传给 Stub [^1],然后把 Stub 暴露给用户,Stub 可以决定要不要去调 Proxy。
+
## 使用方式:
在 spring 配置文件中按以下方式配置: