Home / Type/ WithSpringXmlResource Type — spring-boot Architecture

WithSpringXmlResource Type — spring-boot Architecture

Architecture documentation for the WithSpringXmlResource type/interface in Log4J2LoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java lines 819–840

	@Target(ElementType.METHOD)
	@Retention(RetentionPolicy.RUNTIME)
	@WithResource(name = "log4j2-test-spring.xml",
			content = """
					<?xml version="1.0" encoding="UTF-8"?>
					<Configuration xmlns="https://logging.apache.org/xml/ns"
					               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
					               xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-config-2.xsd"
					               name="SpringBoot">
						<Appenders>
							<Console name="CONSOLE"/>
						</Appenders>
						<Loggers>
							<Root level="INFO">
								<AppenderRef ref="CONSOLE"/>
							</Root>
						</Loggers>
					</Configuration>
					""")
	private @interface WithSpringXmlResource {

	}

Analyze Your Own Codebase

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

Try Supermodel Free