Skip to content

Commit e670b0a

Browse files
authored
Update and rename 24.2. Programmatically setting profiles.md to 25.2. Programmatically setting profiles.md
1 parent bee47f5 commit e670b0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

IV. Spring Boot features/24.2. Programmatically setting profiles.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 25.2.以编程方式设置profiles
2+
3+
在应用运行前,你可以通过调用`SpringApplication.setAdditionalProfiles(…)`方法,以编程的方式设置激活的配置,也可以使用Spring的`ConfigurableEnvironment`接口激活配置(profiles)。

0 commit comments

Comments
 (0)