This is an automated email from the ASF dual-hosted git repository.
hyunkun 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 8cbb0dd fix typos for ApplicationConfig (#514)
8cbb0dd is described below
commit 8cbb0ddfdcce7fb5e13b60dfa9e0c16a268385ed
Author: Wang Ben <[email protected]>
AuthorDate: Tue Nov 5 17:06:41 2019 +0800
fix typos for ApplicationConfig (#514)
---
blog/en-us/dubbo-101.md | 2 +-
blog/zh-cn/dubbo-101.md | 4 ++--
blog/zh-cn/dubbo-annotation-driven.md | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/blog/en-us/dubbo-101.md b/blog/en-us/dubbo-101.md
index a23cd6b..2d477f0 100644
--- a/blog/en-us/dubbo-101.md
+++ b/blog/en-us/dubbo-101.md
@@ -181,7 +181,7 @@ public class Application {
**Notes**:
1. Create an instance of *ReferenceConfig* with service interface type as
generics parameters, which is *GreetingsService* in this example.
-2. Create an instance of *AplicatonConfig*, and assemble it into
*ReferenceConfig*.
+2. Create an instance of *ApplicationConfig*, and assemble it into
*ReferenceConfig*.
3. Generate an instance *RegistryConfig*, and assemble it into
*ReferenceConfig*. Note that the address information here should be the same as
the one of the service provider.
4. Assemble the service contract *GreetingsService* into *ReferenceConfig*.
5. Obtain the agency of *GreetingsService* from *ReferenceConfig*.
diff --git a/blog/zh-cn/dubbo-101.md b/blog/zh-cn/dubbo-101.md
index c00fbc4..d25e833 100644
--- a/blog/zh-cn/dubbo-101.md
+++ b/blog/zh-cn/dubbo-101.md
@@ -150,7 +150,7 @@ public class Application {
**说明**:
1. 创建一个 *ServiceConfig* 的实例,泛型参数信息是服务接口类型,即 *GreetingsService*。
-2. 生成一个 *AplicatonConfig* 的实例,并将其装配进 *ServiceConfig*。
+2. 生成一个 *ApplicationConfig* 的实例,并将其装配进 *ServiceConfig*。
3. 生成一个 *RegistryConfig* 实例,并将其装配进 *ServiceConfig*,这里使用的是组播方式,参数是
`multicast://224.5.6.7:1234`。合法的组播地址范围为:*224.0.0.0 - 239.255.255.255*
4. 将服务契约 *GreetingsService* 装配进 *ServiceConfig*。
5. 将服务提供者提供的实现 *GreetingsServiceImpl* 的实例装配进 *ServiceConfig*。
@@ -176,7 +176,7 @@ public class Application {
**说明**:
1. 创建一个 *ReferenceConfig* 的实例,同样,泛型参数信息是服务接口类型,即 *GreetingService*。
-2. 生成一个 *AplicatonConfig* 的实例,并将其装配进 *ReferenceConfig*。
+2. 生成一个 *ApplicationConfig* 的实例,并将其装配进 *ReferenceConfig*。
3. 生成一个 *RegistryConfig* 实例,并将其装配进 *ReferenceConfig*,注意这里的组播地址信息需要与服务提供方的相同。
4. 将服务契约 *GreetingsService* 装配进 *ReferenceConfig*。
5. 从 *ReferenceConfig* 中获取到 *GreetingService* 的代理。
diff --git a/blog/zh-cn/dubbo-annotation-driven.md
b/blog/zh-cn/dubbo-annotation-driven.md
index 5e0a988..79e9fd6 100644
--- a/blog/zh-cn/dubbo-annotation-driven.md
+++ b/blog/zh-cn/dubbo-annotation-driven.md
@@ -320,7 +320,7 @@ public class AnnotationDemoService implements DemoService {
-将 `AnnotationDemoService` 暴露成Dubbo 服务,需要依赖 Spring
Bean:`AplicationConfig`、`ProtocolConfig` 以及 `RegistryConfig` 。这三个 Spring Bean
过去可通过 XML 文件方式组装 Spring Bean:
+将 `AnnotationDemoService` 暴露成Dubbo 服务,需要依赖 Spring
Bean:`ApplicationConfig`、`ProtocolConfig` 以及 `RegistryConfig` 。这三个 Spring Bean
过去可通过 XML 文件方式组装 Spring Bean:
```xml
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"