Home / Function/ registerBeanDefinitions() — spring-boot Function Reference

registerBeanDefinitions() — spring-boot Function Reference

Architecture documentation for the registerBeanDefinitions() function in EnableConfigurationPropertiesRegistrar.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  f9c8fa93_cdef_0fa3_84e8_25ee1b1716f4["registerBeanDefinitions()"]
  b8556c05_2e43_f05e_8576_1f2c52030424["registerInfrastructureBeans()"]
  f9c8fa93_cdef_0fa3_84e8_25ee1b1716f4 -->|calls| b8556c05_2e43_f05e_8576_1f2c52030424
  5698358b_afd4_1f1f_8fbb_114d9f06dc2e["registerMethodValidationExcludeFilter()"]
  f9c8fa93_cdef_0fa3_84e8_25ee1b1716f4 -->|calls| 5698358b_afd4_1f1f_8fbb_114d9f06dc2e
  bd5f6f9b_feee_e04b_7613_34f59185abba["getTypes()"]
  f9c8fa93_cdef_0fa3_84e8_25ee1b1716f4 -->|calls| bd5f6f9b_feee_e04b_7613_34f59185abba
  style f9c8fa93_cdef_0fa3_84e8_25ee1b1716f4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/EnableConfigurationPropertiesRegistrar.java lines 44–50

	@Override
	public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionRegistry registry) {
		registerInfrastructureBeans(registry);
		registerMethodValidationExcludeFilter(registry);
		ConfigurationPropertiesBeanRegistrar beanRegistrar = new ConfigurationPropertiesBeanRegistrar(registry);
		getTypes(metadata).forEach(beanRegistrar::register);
	}

Domain

Subdomains

Calls

  • getTypes()
  • registerInfrastructureBeans()
  • registerMethodValidationExcludeFilter()

Frequently Asked Questions

What does registerBeanDefinitions() do?
registerBeanDefinitions() is a function in the spring-boot codebase.
What does registerBeanDefinitions() call?
registerBeanDefinitions() calls 3 function(s): getTypes, registerInfrastructureBeans, registerMethodValidationExcludeFilter.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free