From fff88cd23caac7dcfdc265a7a84610e74bf80a2e Mon Sep 17 00:00:00 2001 From: lincan Date: Wed, 7 Feb 2024 11:07:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dreadme=E4=B8=AD=20AbstractEnv?= =?UTF-8?q?ironment=20=E5=AD=90=E7=B1=BB=E9=94=99=E8=AF=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring-env/spring-env-propertyResolver/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-env/spring-env-propertyResolver/README.md b/spring-env/spring-env-propertyResolver/README.md index cb9aa01f..8413a2bd 100644 --- a/spring-env/spring-env-propertyResolver/README.md +++ b/spring-env/spring-env-propertyResolver/README.md @@ -144,7 +144,7 @@ public interface PropertyResolver { + 虽然 `AbstractEnvironment` 本身不直接实现 `PropertyResolver` 接口,但它提供了访问 `PropertyResolver` 功能的接口。`AbstractEnvironment` 通过内部持有的 `PropertySourcesPropertyResolver` 实例来提供属性解析服务。 -3. **`StandardEnvironment` 和 `ConfigurableEnvironment`** +3. **`StandardEnvironment` 和 `StandardServletEnvironment`** + 这些类扩展了 `AbstractEnvironment`,提供了更具体的环境配置。它们通过继承 `AbstractEnvironment` 间接提供 `PropertyResolver` 的功能。