Home / Class/ PlaceholdersOverride Class — spring-boot Architecture

PlaceholdersOverride Class — spring-boot Architecture

Architecture documentation for the PlaceholdersOverride class in PropertyPlaceholderAutoConfigurationTests.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfigurationTests.java lines 119–133

	@Configuration(proxyBeanMethods = false)
	static class PlaceholdersOverride {

		@Bean
		static PropertySourcesPlaceholderConfigurer morePlaceholders() {
			PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer();
			Properties properties = StringUtils.splitArrayElementsIntoProperties(new String[] { "fruit=orange" }, "=");
			assertThat(properties).isNotNull();
			configurer.setProperties(properties);
			configurer.setLocalOverride(true);
			configurer.setOrder(0);
			return configurer;
		}

	}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free