isConfigurationPropertiesBean() — spring-boot Function Reference
Architecture documentation for the isConfigurationPropertiesBean() function in ConfigurationPropertiesBean.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD bfa1397e_3eb2_5a30_74f8_43c210b69ac6["isConfigurationPropertiesBean()"] 724be4a1_5259_b857_2bb2_ea262acfd7c4["getAll()"] 724be4a1_5259_b857_2bb2_ea262acfd7c4 -->|calls| bfa1397e_3eb2_5a30_74f8_43c210b69ac6 18a621b9_e07b_c5c0_d8ee_68e740590562["findFactoryMethod()"] bfa1397e_3eb2_5a30_74f8_43c210b69ac6 -->|calls| 18a621b9_e07b_c5c0_d8ee_68e740590562 c209a51d_7b81_5cd0_10bf_6997040b38cd["findMergedAnnotation()"] bfa1397e_3eb2_5a30_74f8_43c210b69ac6 -->|calls| c209a51d_7b81_5cd0_10bf_6997040b38cd style bfa1397e_3eb2_5a30_74f8_43c210b69ac6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBean.java lines 174–188
private static boolean isConfigurationPropertiesBean(ConfigurableListableBeanFactory beanFactory, String beanName) {
try {
if (beanFactory.getBeanDefinition(beanName).isAbstract()) {
return false;
}
if (beanFactory.findAnnotationOnBean(beanName, ConfigurationProperties.class) != null) {
return true;
}
Method factoryMethod = findFactoryMethod(beanFactory, beanName);
return findMergedAnnotation(factoryMethod, ConfigurationProperties.class).isPresent();
}
catch (NoSuchBeanDefinitionException ex) {
return false;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isConfigurationPropertiesBean() do?
isConfigurationPropertiesBean() is a function in the spring-boot codebase.
What does isConfigurationPropertiesBean() call?
isConfigurationPropertiesBean() calls 2 function(s): findFactoryMethod, findMergedAnnotation.
What calls isConfigurationPropertiesBean()?
isConfigurationPropertiesBean() is called by 1 function(s): getAll.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free