aotContributionRegistersActiveProfiles() — spring-boot Function Reference
Architecture documentation for the aotContributionRegistersActiveProfiles() function in EnvironmentPostProcessorApplicationListenerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD cdb275e5_fc0e_effe_6b06_a35014d4f328["aotContributionRegistersActiveProfiles()"] adb6c4d9_b985_b0db_6775_40a30795ffab["compile()"] cdb275e5_fc0e_effe_6b06_a35014d4f328 -->|calls| adb6c4d9_b985_b0db_6775_40a30795ffab bbf51126_bf48_b8ee_13c2_4423f7e84e7c["createContext()"] cdb275e5_fc0e_effe_6b06_a35014d4f328 -->|calls| bbf51126_bf48_b8ee_13c2_4423f7e84e7c e48b0014_eeea_f2a4_363f_d6101ab60325["getInstance()"] cdb275e5_fc0e_effe_6b06_a35014d4f328 -->|calls| e48b0014_eeea_f2a4_363f_d6101ab60325 87f0b21f_3955_8dcc_cc55_9c6321893f96["get()"] cdb275e5_fc0e_effe_6b06_a35014d4f328 -->|calls| 87f0b21f_3955_8dcc_cc55_9c6321893f96 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"] cdb275e5_fc0e_effe_6b06_a35014d4f328 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3 91b4547e_08a4_d893_90c2_e538703c3f67["postProcessEnvironment()"] cdb275e5_fc0e_effe_6b06_a35014d4f328 -->|calls| 91b4547e_08a4_d893_90c2_e538703c3f67 style cdb275e5_fc0e_effe_6b06_a35014d4f328 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/support/EnvironmentPostProcessorApplicationListenerTests.java lines 206–217
@Test
void aotContributionRegistersActiveProfiles() {
ConfigurableEnvironment environment = new StandardEnvironment();
environment.setActiveProfiles("one", "two");
compile(createContext(environment), (compiled) -> {
EnvironmentPostProcessor environmentPostProcessor = compiled.getInstance(EnvironmentPostProcessor.class,
ClassName.get("com.example", "TestApp__EnvironmentPostProcessor").toString());
StandardEnvironment freshEnvironment = new StandardEnvironment();
environmentPostProcessor.postProcessEnvironment(freshEnvironment, new SpringApplication());
assertThat(freshEnvironment.getActiveProfiles()).containsExactly("one", "two");
});
}
Domain
Subdomains
Calls
- SpringApplication()
- compile()
- createContext()
- get()
- getInstance()
- postProcessEnvironment()
Source
Frequently Asked Questions
What does aotContributionRegistersActiveProfiles() do?
aotContributionRegistersActiveProfiles() is a function in the spring-boot codebase.
What does aotContributionRegistersActiveProfiles() call?
aotContributionRegistersActiveProfiles() calls 6 function(s): SpringApplication, compile, createContext, get, getInstance, postProcessEnvironment.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free