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

proxyTargetClassDisabled() — spring-boot Function Reference

Architecture documentation for the proxyTargetClassDisabled() function in AopAutoConfigurationTests.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  ec74d287_78e0_ca49_269b_7b33bf083c72["proxyTargetClassDisabled()"]
  4c3351a9_b595_289c_54d6_7e268796b1fc["aopWithDisabledProxyTargetClass()"]
  4c3351a9_b595_289c_54d6_7e268796b1fc -->|calls| ec74d287_78e0_ca49_269b_7b33bf083c72
  ed27c6d3_3954_7fed_1bf0_4969ea968b5b["isCalled()"]
  ec74d287_78e0_ca49_269b_7b33bf083c72 -->|calls| ed27c6d3_3954_7fed_1bf0_4969ea968b5b
  f7d1f676_684d_15e3_5fdd_df170fa79bcf["foo()"]
  ec74d287_78e0_ca49_269b_7b33bf083c72 -->|calls| f7d1f676_684d_15e3_5fdd_df170fa79bcf
  style ec74d287_78e0_ca49_269b_7b33bf083c72 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/aop/AopAutoConfigurationTests.java lines 106–115

	private ContextConsumer<AssertableApplicationContext> proxyTargetClassDisabled() {
		return (context) -> {
			TestAspect aspect = context.getBean(TestAspect.class);
			assertThat(aspect.isCalled()).isFalse();
			TestInterface bean = context.getBean(TestInterface.class);
			bean.foo();
			assertThat(aspect.isCalled()).isTrue();
			assertThat(context).doesNotHaveBean(TestBean.class);
		};
	}

Domain

Subdomains

Called By

  • aopWithDisabledProxyTargetClass()

Frequently Asked Questions

What does proxyTargetClassDisabled() do?
proxyTargetClassDisabled() is a function in the spring-boot codebase.
What does proxyTargetClassDisabled() call?
proxyTargetClassDisabled() calls 2 function(s): foo, isCalled.
What calls proxyTargetClassDisabled()?
proxyTargetClassDisabled() is called by 1 function(s): aopWithDisabledProxyTargetClass.

Analyze Your Own Codebase

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

Try Supermodel Free