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

createWithClassNamesAndClassLoaderListCreatesFactory() — spring-boot Function Reference

Architecture documentation for the createWithClassNamesAndClassLoaderListCreatesFactory() function in ReflectionEnvironmentPostProcessorsFactoryTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d22df4cc_73f6_c237_b428_f630d7d76463["createWithClassNamesAndClassLoaderListCreatesFactory()"]
  be22d695_81d3_ca24_90d4_9385a402a390["getClassLoader()"]
  d22df4cc_73f6_c237_b428_f630d7d76463 -->|calls| be22d695_81d3_ca24_90d4_9385a402a390
  636d8e7b_4c16_49bd_6ccf_f7a34f2751e2["assertThatFactory()"]
  d22df4cc_73f6_c237_b428_f630d7d76463 -->|calls| 636d8e7b_4c16_49bd_6ccf_f7a34f2751e2
  80f7a87d_5b5c_8ea4_6579_860cfdcae381["createsSinglePostProcessorWithClassLoader()"]
  d22df4cc_73f6_c237_b428_f630d7d76463 -->|calls| 80f7a87d_5b5c_8ea4_6579_860cfdcae381
  style d22df4cc_73f6_c237_b428_f630d7d76463 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/support/ReflectionEnvironmentPostProcessorsFactoryTests.java lines 70–84

	@Test
	void createWithClassNamesAndClassLoaderListCreatesFactory() {
		OverridingClassLoader classLoader = new OverridingClassLoader(getClass().getClassLoader()) {

			@Override
			protected boolean isEligibleForOverriding(String className) {
				return super.isEligibleForOverriding(className)
						&& className.equals(TestEnvironmentPostProcessor.class.getName());
			}

		};
		ReflectionEnvironmentPostProcessorsFactory factory = new ReflectionEnvironmentPostProcessorsFactory(classLoader,
				Arrays.asList(TestEnvironmentPostProcessor.class.getName()));
		assertThatFactory(factory).createsSinglePostProcessorWithClassLoader(classLoader);
	}

Domain

Subdomains

Frequently Asked Questions

What does createWithClassNamesAndClassLoaderListCreatesFactory() do?
createWithClassNamesAndClassLoaderListCreatesFactory() is a function in the spring-boot codebase.
What does createWithClassNamesAndClassLoaderListCreatesFactory() call?
createWithClassNamesAndClassLoaderListCreatesFactory() calls 3 function(s): assertThatFactory, createsSinglePostProcessorWithClassLoader, getClassLoader.

Analyze Your Own Codebase

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

Try Supermodel Free