From ae37aadbd36ec124b3a51f781ab20a6ea20f6039 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 8 Feb 2015 22:11:45 +0800 Subject: [PATCH] Update 23.6.2. Exposing YAML as properties in the Spring Environment.md --- ...2. Exposing YAML as properties in the Spring Environment.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IV. Spring Boot features/23.6.2. Exposing YAML as properties in the Spring Environment.md b/IV. Spring Boot features/23.6.2. Exposing YAML as properties in the Spring Environment.md index e69de29..63b50c3 100644 --- a/IV. Spring Boot features/23.6.2. Exposing YAML as properties in the Spring Environment.md +++ b/IV. Spring Boot features/23.6.2. Exposing YAML as properties in the Spring Environment.md @@ -0,0 +1,3 @@ +### 23.6.2. 在Spring环境中使用YAML暴露属性 + +YamlPropertySourceLoader类能够用于将YAML作为一个PropertySource导出到Sprig Environment。这允许你使用熟悉的@Value注解和占位符语法访问YAML属性。