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

of() — spring-boot Function Reference

Architecture documentation for the of() function in AutoConfigurations.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 6

Entity Profile

Dependency Diagram

graph TD
  48477f2a_0f13_fe9e_79e5_6f8dac7c0138["of()"]
  0120086b_e126_3260_24ae_24b487db36f8["whenTheAutoConfigurationIsUsedThenBeanDefinitionPlaceholdersAreResolved()"]
  0120086b_e126_3260_24ae_24b487db36f8 -->|calls| 48477f2a_0f13_fe9e_79e5_6f8dac7c0138
  d05ac6c1_37a1_f488_ea1d_78e56d019e75["whenTheAutoConfigurationIsUsedThenValuePlaceholdersAreResolved()"]
  d05ac6c1_37a1_f488_ea1d_78e56d019e75 -->|calls| 48477f2a_0f13_fe9e_79e5_6f8dac7c0138
  c8a81a5d_a0e4_51da_e833_2cecc577eff1["whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForBeanDefinitionPlaceholderResolution()"]
  c8a81a5d_a0e4_51da_e833_2cecc577eff1 -->|calls| 48477f2a_0f13_fe9e_79e5_6f8dac7c0138
  ebdb179f_9d5f_d701_5cc6_96dbba3e05d3["whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForValuePlaceholderResolution()"]
  ebdb179f_9d5f_d701_5cc6_96dbba3e05d3 -->|calls| 48477f2a_0f13_fe9e_79e5_6f8dac7c0138
  b2fe0607_bf1c_5d35_8bc4_fac7f6ae9e68["enableAsyncUsesAutoConfiguredOneByDefaultEvenThoughSchedulingIsConfigured()"]
  b2fe0607_bf1c_5d35_8bc4_fac7f6ae9e68 -->|calls| 48477f2a_0f13_fe9e_79e5_6f8dac7c0138
  956b9d42_a146_4e4b_3736_2b514fbb632f["enableSchedulingWithLazyInitializationInvokeScheduledMethods()"]
  956b9d42_a146_4e4b_3736_2b514fbb632f -->|calls| 48477f2a_0f13_fe9e_79e5_6f8dac7c0138
  1a7adcaf_3440_baba_3754_0f6efd7b6179["AutoConfigurations()"]
  48477f2a_0f13_fe9e_79e5_6f8dac7c0138 -->|calls| 1a7adcaf_3440_baba_3754_0f6efd7b6179
  style 48477f2a_0f13_fe9e_79e5_6f8dac7c0138 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurations.java lines 79–81

	public static AutoConfigurations of(Class<?>... classes) {
		return new AutoConfigurations(Arrays.asList(classes));
	}

Domain

Subdomains

Called By

  • enableAsyncUsesAutoConfiguredOneByDefaultEvenThoughSchedulingIsConfigured()
  • enableSchedulingWithLazyInitializationInvokeScheduledMethods()
  • whenTheAutoConfigurationIsUsedThenBeanDefinitionPlaceholdersAreResolved()
  • whenTheAutoConfigurationIsUsedThenValuePlaceholdersAreResolved()
  • whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForBeanDefinitionPlaceholderResolution()
  • whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForValuePlaceholderResolution()

Frequently Asked Questions

What does of() do?
of() is a function in the spring-boot codebase.
What does of() call?
of() calls 1 function(s): AutoConfigurations.
What calls of()?
of() is called by 6 function(s): enableAsyncUsesAutoConfiguredOneByDefaultEvenThoughSchedulingIsConfigured, enableSchedulingWithLazyInitializationInvokeScheduledMethods, whenTheAutoConfigurationIsUsedThenBeanDefinitionPlaceholdersAreResolved, whenTheAutoConfigurationIsUsedThenValuePlaceholdersAreResolved, whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForBeanDefinitionPlaceholderResolution, whenThereIsAUserDefinedPropertySourcesPlaceholderConfigurerThenItIsUsedForValuePlaceholderResolution.

Analyze Your Own Codebase

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

Try Supermodel Free