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

addBeanWithType() — spring-boot Function Reference

Architecture documentation for the addBeanWithType() function in ApplicationConversionService.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  fd707022_c6e9_5685_fc15_4599d4a06eef["addBeanWithType()"]
  b0d55b27_9aaf_5809_0dd5_405a839e2f9e["addBean()"]
  b0d55b27_9aaf_5809_0dd5_405a839e2f9e -->|calls| fd707022_c6e9_5685_fc15_4599d4a06eef
  b0d55b27_9aaf_5809_0dd5_405a839e2f9e["addBean()"]
  fd707022_c6e9_5685_fc15_4599d4a06eef -->|calls| b0d55b27_9aaf_5809_0dd5_405a839e2f9e
  cba1a510_b294_cced_2bbe_9861b2c09a45["addConverter()"]
  fd707022_c6e9_5685_fc15_4599d4a06eef -->|calls| cba1a510_b294_cced_2bbe_9861b2c09a45
  style fd707022_c6e9_5685_fc15_4599d4a06eef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/convert/ApplicationConversionService.java lines 382–387

	private static <B, T> void addBeanWithType(FormatterRegistry registry, B bean, ResolvableType beanType,
			Class<T> type, Consumer<B> standardRegistrar,
			BiFunction<B, ResolvableType, BeanAdapter<?>> beanAdapterFactory) {
		addBean(registry, bean, beanType, type, standardRegistrar,
				() -> registry.addConverter(beanAdapterFactory.apply(bean, beanType)));
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does addBeanWithType() do?
addBeanWithType() is a function in the spring-boot codebase.
What does addBeanWithType() call?
addBeanWithType() calls 2 function(s): addBean, addConverter.
What calls addBeanWithType()?
addBeanWithType() is called by 1 function(s): addBean.

Analyze Your Own Codebase

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

Try Supermodel Free