java-training-camp icon indicating copy to clipboard operation
java-training-camp copied to clipboard

作业十:动态地替换 Java System Propeties

Open mercyblitz opened this issue 2 years ago • 3 comments

要求

在 Spring Boot 工程中,动态地替换 Java System Propeties ,避免并发锁阻塞等问题

提示

在 Spring Boot org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent 阶段替换 Java System Propeties PropertySource,其中它的 name 为 :org.springframework.core.env.StandardEnvironment#SYSTEM_PROPERTIES_PROPERTY_SOURCE_NAME

mercyblitz avatar Dec 17 '22 15:12 mercyblitz

https://github.com/Kurok1/java-training-camp/commit/3f6294792f1d2483cd8a6ff15f314d4de35ab75a

Kurok1 avatar Dec 18 '22 09:12 Kurok1

https://github.com/liqi19950722/Work/tree/master/work-10

liqi19950722 avatar Dec 19 '22 04:12 liqi19950722

https://github.com/Tanxyz/java-training-camp-homework

Tanxyz avatar Jan 04 '23 12:01 Tanxyz