You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/06/27 12:41:19 UTC

[dubbo-website] branch master updated: [fix] 缺少层级 (#1150)

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 c930ae02e7 [fix] 缺少层级 (#1150)
c930ae02e7 is described below

commit c930ae02e76bb17a2bdcd7f9aae34f3ec3bf1790
Author: JIAN ZHONG <11...@qq.com>
AuthorDate: Mon Jun 27 20:41:14 2022 +0800

    [fix] 缺少层级 (#1150)
    
    * [fix] 缺少层级
    
    * [fix] 修复
    
    * [fix] 优化
---
 .../others/service-container.md                      | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/content/zh/docs3-building/java-sdk/advanced-features-and-usage/others/service-container.md b/content/zh/docs3-building/java-sdk/advanced-features-and-usage/others/service-container.md
index 001bac579d..dd4854ae24 100644
--- a/content/zh/docs3-building/java-sdk/advanced-features-and-usage/others/service-container.md
+++ b/content/zh/docs3-building/java-sdk/advanced-features-and-usage/others/service-container.md
@@ -6,38 +6,38 @@ weight: 1
 description: "了解 dubbo3 中服务自定义容器类型和使用"
 ---
 
-## 特性说明:
+## 特性说明
 Dubbo3 的服务容器是一个 standalone 的启动程序,因为后台服务不需要 Tomcat 或 JBoss 等 Web 容器的功能,如果硬要用 Web 容器去加载服务提供方,增加复杂性,也浪费资源。所以服务通常不需要 Tomcat/JBoss 等 Web 容器的特性,没必要用 Web 容器去加载服务。
 
 Dubbo3 服务容器只是一个简单的 Main 方法,并加载一个简单的 Spring 容器,用于暴露服务。
 
-服务容器的加载内容可以扩展,内置了 spring, jetty, log4j 等加载,可通过[容器扩展点](../../java-sdk/reference-manual/spi/description/container)进行扩展。配置配在 java 命令的 -D 参数或者  `dubbo.properties`  中。
+服务容器的加载内容可以扩展,内置了 spring, jetty, log4j 等加载,可通过[容器扩展点](../../../reference-manual/spi/description/container)进行扩展。配置配在 java 命令的 -D 参数或者  `dubbo.properties`  中。
 
-## Dubbo3 自定义容器类型:
+#### Dubbo3 自定义容器类型:
 
-### Spring Container
-### Jetty Container
-### Log4j Container
+-  Spring Container
+-  Jetty Container
+-  Log4j Container
  
 
 ## 使用场景
-## 使用方式:
+## 使用方式
 
-### Spring Container
+#### Spring Container
 -   自动加载  `META-INF/spring`  目录下的所有 Spring 配置。
 
 -   配置 spring 配置加载位置:
     
     ```fallback
     dubbo.spring.config=classpath*:META-INF/spring/*.xml
-   ### Jetty Container
+#### Jetty Container
 -   启动一个内嵌 Jetty,用于汇报状态。
 -   配置:
     -   `dubbo.jetty.port=8080`:配置 jetty 启动端口
     -   `dubbo.jetty.directory=/foo/bar`:配置可通过 jetty 直接访问的目录,用于存放静态文件
     -   `dubbo.jetty.page=log,status,system`:配置显示的页面,缺省加载所有页面
 
-### Log4j Container
+#### Log4j Container
 
 -   自动配置 log4j 的配置,在多进程启动时,自动给日志文件按进程分目录。
 -   配置: