getPropertySources() — spring-boot Function Reference
Architecture documentation for the getPropertySources() function in PropertySourcesDeducer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 45c7b573_4330_d5fd_0320_5f6d2c06aabb["getPropertySources()"] 520079f4_c05d_1c42_d39f_0fcab4201634["extractEnvironmentPropertySources()"] 520079f4_c05d_1c42_d39f_0fcab4201634 -->|calls| 45c7b573_4330_d5fd_0320_5f6d2c06aabb 3dc2d588_bffe_3891_6a27_4b4508f936cd["getSinglePropertySourcesPlaceholderConfigurer()"] 45c7b573_4330_d5fd_0320_5f6d2c06aabb -->|calls| 3dc2d588_bffe_3891_6a27_4b4508f936cd 520079f4_c05d_1c42_d39f_0fcab4201634["extractEnvironmentPropertySources()"] 45c7b573_4330_d5fd_0320_5f6d2c06aabb -->|calls| 520079f4_c05d_1c42_d39f_0fcab4201634 style 45c7b573_4330_d5fd_0320_5f6d2c06aabb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertySourcesDeducer.java lines 48–57
PropertySources getPropertySources() {
PropertySourcesPlaceholderConfigurer configurer = getSinglePropertySourcesPlaceholderConfigurer();
if (configurer != null) {
return configurer.getAppliedPropertySources();
}
MutablePropertySources sources = extractEnvironmentPropertySources();
Assert.state(sources != null,
"Unable to obtain PropertySources from PropertySourcesPlaceholderConfigurer or Environment");
return sources;
}
Domain
Subdomains
Calls
- extractEnvironmentPropertySources()
- getSinglePropertySourcesPlaceholderConfigurer()
Called By
- extractEnvironmentPropertySources()
Source
Frequently Asked Questions
What does getPropertySources() do?
getPropertySources() is a function in the spring-boot codebase.
What does getPropertySources() call?
getPropertySources() calls 2 function(s): extractEnvironmentPropertySources, getSinglePropertySourcesPlaceholderConfigurer.
What calls getPropertySources()?
getPropertySources() is called by 1 function(s): extractEnvironmentPropertySources.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free