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

filterBeanRequirement() — spring-boot Function Reference

Architecture documentation for the filterBeanRequirement() function in ConditionalOnMissingFilterBeanTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  fea100b3_ddee_223e_e4bd_cf0b90e8d56e["filterBeanRequirement()"]
  173ae421_6f59_6dcd_f505_2e1018e468ee["outcomeWhenValueIsOfMissingBeanReturnsMatch()"]
  173ae421_6f59_6dcd_f505_2e1018e468ee -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  a08a0e51_cd8e_4b1b_44bd_418921a61735["outcomeWhenValueIsOfExistingBeanReturnsNoMatch()"]
  a08a0e51_cd8e_4b1b_44bd_418921a61735 -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  944ac7b8_13cd_217f_ebce_164b4992c271["outcomeWhenValueIsOfMissingBeanRegistrationReturnsMatch()"]
  944ac7b8_13cd_217f_ebce_164b4992c271 -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  ce7a8be9_14e5_ae32_6459_0252754f570b["outcomeWhenValueIsOfExistingBeanRegistrationReturnsNoMatch()"]
  ce7a8be9_14e5_ae32_6459_0252754f570b -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  fa0a05f0_dbed_4750_7581_69a9c9b2dd44["outcomeWhenReturnTypeIsOfExistingBeanReturnsNoMatch()"]
  fa0a05f0_dbed_4750_7581_69a9c9b2dd44 -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  48e7fb2f_59d6_38c6_87de_dce98da10ade["outcomeWhenReturnTypeIsOfExistingBeanRegistrationReturnsNoMatch()"]
  48e7fb2f_59d6_38c6_87de_dce98da10ade -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  b33bb9e3_9627_5b6f_210d_7200f4dbb26f["outcomeWhenReturnRegistrationTypeIsOfExistingBeanReturnsNoMatch()"]
  b33bb9e3_9627_5b6f_210d_7200f4dbb26f -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  4c5b3fd5_db87_6ecd_10f3_a51e09db0a55["outcomeWhenReturnRegistrationTypeIsOfExistingBeanRegistrationReturnsNoMatch()"]
  4c5b3fd5_db87_6ecd_10f3_a51e09db0a55 -->|calls| fea100b3_ddee_223e_e4bd_cf0b90e8d56e
  style fea100b3_ddee_223e_e4bd_cf0b90e8d56e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingFilterBeanTests.java lines 100–106

	private Consumer<ConfigurableApplicationContext> filterBeanRequirement(String... names) {
		return (context) -> {
			String[] filters = context.getBeanNamesForType(Filter.class);
			String[] registrations = context.getBeanNamesForType(FilterRegistrationBean.class);
			assertThat(StringUtils.concatenateStringArrays(filters, registrations)).containsOnly(names);
		};
	}

Domain

Subdomains

Called By

  • outcomeWhenReturnRegistrationTypeIsOfExistingBeanRegistrationReturnsNoMatch()
  • outcomeWhenReturnRegistrationTypeIsOfExistingBeanReturnsNoMatch()
  • outcomeWhenReturnTypeIsOfExistingBeanRegistrationReturnsNoMatch()
  • outcomeWhenReturnTypeIsOfExistingBeanReturnsNoMatch()
  • outcomeWhenValueIsOfExistingBeanRegistrationReturnsNoMatch()
  • outcomeWhenValueIsOfExistingBeanReturnsNoMatch()
  • outcomeWhenValueIsOfMissingBeanRegistrationReturnsMatch()
  • outcomeWhenValueIsOfMissingBeanReturnsMatch()

Frequently Asked Questions

What does filterBeanRequirement() do?
filterBeanRequirement() is a function in the spring-boot codebase.
What calls filterBeanRequirement()?
filterBeanRequirement() is called by 8 function(s): outcomeWhenReturnRegistrationTypeIsOfExistingBeanRegistrationReturnsNoMatch, outcomeWhenReturnRegistrationTypeIsOfExistingBeanReturnsNoMatch, outcomeWhenReturnTypeIsOfExistingBeanRegistrationReturnsNoMatch, outcomeWhenReturnTypeIsOfExistingBeanReturnsNoMatch, outcomeWhenValueIsOfExistingBeanRegistrationReturnsNoMatch, outcomeWhenValueIsOfExistingBeanReturnsNoMatch, outcomeWhenValueIsOfMissingBeanRegistrationReturnsMatch, outcomeWhenValueIsOfMissingBeanReturnsMatch.

Analyze Your Own Codebase

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

Try Supermodel Free