mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-01 19:59:03 +00:00
3f7d5120c9df29a0f115621839c3f50e5abb7f76
Users may now call #setRequiredProperties(String...) against the Environment (via its ConfigurablePropertyResolver interface) in order to indicate which properties must be present. Environment#validateRequiredProperties() is invoked by AbstractApplicationContext during the refresh() lifecycle to perform the actual check and a MissingRequiredPropertiesException is thrown if the precondition is not satisfied. Issue: SPR-8323 git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4285 50f2f4bb-b051-0410-bef5-90022cba6387
Languages
Java
97.5%
Kotlin
2.3%