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

getBeanDefinitionsForType() — spring-boot Function Reference

Architecture documentation for the getBeanDefinitionsForType() function in OnBeanCondition.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  8361880d_08d6_782b_4fbe_15d5a4ea3680["getBeanDefinitionsForType()"]
  e8d44fa6_45ad_6d14_6468_53ed18c907e0["getMatchingBeans()"]
  e8d44fa6_45ad_6d14_6468_53ed18c907e0 -->|calls| 8361880d_08d6_782b_4fbe_15d5a4ea3680
  a8777dcb_6175_c7a5_a8f5_e58c30b2081d["getNamesOfBeansIgnoredByType()"]
  a8777dcb_6175_c7a5_a8f5_e58c30b2081d -->|calls| 8361880d_08d6_782b_4fbe_15d5a4ea3680
  765924ce_4ea5_d0ad_32a2_d76919387853["collectBeanDefinitionsForType()"]
  8361880d_08d6_782b_4fbe_15d5a4ea3680 -->|calls| 765924ce_4ea5_d0ad_32a2_d76919387853
  style 8361880d_08d6_782b_4fbe_15d5a4ea3680 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java lines 321–326

	private Map<String, @Nullable BeanDefinition> getBeanDefinitionsForType(ListableBeanFactory beanFactory,
			boolean considerHierarchy, BeanType type, Set<BeanType> parameterizedContainers) {
		Map<String, @Nullable BeanDefinition> result = collectBeanDefinitionsForType(beanFactory, considerHierarchy,
				type, parameterizedContainers, null);
		return (result != null) ? result : Collections.<String, @Nullable BeanDefinition>emptyMap();
	}

Domain

Subdomains

Calls

  • collectBeanDefinitionsForType()

Frequently Asked Questions

What does getBeanDefinitionsForType() do?
getBeanDefinitionsForType() is a function in the spring-boot codebase.
What does getBeanDefinitionsForType() call?
getBeanDefinitionsForType() calls 1 function(s): collectBeanDefinitionsForType.
What calls getBeanDefinitionsForType()?
getBeanDefinitionsForType() is called by 2 function(s): getMatchingBeans, getNamesOfBeansIgnoredByType.

Analyze Your Own Codebase

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

Try Supermodel Free