proxyTargetClassEnabled() — spring-boot Function Reference
Architecture documentation for the proxyTargetClassEnabled() function in AopAutoConfigurationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e2547ac0_32c0_3c4d_1d41_3473047bf888["proxyTargetClassEnabled()"] ef109f65_c3dc_f56b_b60e_1b74d2f079b9["aopWithDefaultSettings()"] ef109f65_c3dc_f56b_b60e_1b74d2f079b9 -->|calls| e2547ac0_32c0_3c4d_1d41_3473047bf888 ae24b91f_84f8_8a5b_563e_b7392d5a20ba["aopWithEnabledProxyTargetClass()"] ae24b91f_84f8_8a5b_563e_b7392d5a20ba -->|calls| e2547ac0_32c0_3c4d_1d41_3473047bf888 fd21240a_1053_1e82_5261_f0e6ef0d68d0["customConfigurationWithProxyTargetClassDefaultDoesNotDisableProxying()"] fd21240a_1053_1e82_5261_f0e6ef0d68d0 -->|calls| e2547ac0_32c0_3c4d_1d41_3473047bf888 ed27c6d3_3954_7fed_1bf0_4969ea968b5b["isCalled()"] e2547ac0_32c0_3c4d_1d41_3473047bf888 -->|calls| ed27c6d3_3954_7fed_1bf0_4969ea968b5b f7d1f676_684d_15e3_5fdd_df170fa79bcf["foo()"] e2547ac0_32c0_3c4d_1d41_3473047bf888 -->|calls| f7d1f676_684d_15e3_5fdd_df170fa79bcf style e2547ac0_32c0_3c4d_1d41_3473047bf888 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 96–104
private ContextConsumer<AssertableApplicationContext> proxyTargetClassEnabled() {
return (context) -> {
TestAspect aspect = context.getBean(TestAspect.class);
assertThat(aspect.isCalled()).isFalse();
TestBean bean = context.getBean(TestBean.class);
bean.foo();
assertThat(aspect.isCalled()).isTrue();
};
}
Domain
Subdomains
Calls
Called By
- aopWithDefaultSettings()
- aopWithEnabledProxyTargetClass()
- customConfigurationWithProxyTargetClassDefaultDoesNotDisableProxying()
Source
Frequently Asked Questions
What does proxyTargetClassEnabled() do?
proxyTargetClassEnabled() is a function in the spring-boot codebase.
What does proxyTargetClassEnabled() call?
proxyTargetClassEnabled() calls 2 function(s): foo, isCalled.
What calls proxyTargetClassEnabled()?
proxyTargetClassEnabled() is called by 3 function(s): aopWithDefaultSettings, aopWithEnabledProxyTargetClass, customConfigurationWithProxyTargetClassDefaultDoesNotDisableProxying.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free