Package org.springframework.test.context.bean.override
@NonNullApi
@NonNullFields
package org.springframework.test.context.bean.override
Support case-by-case Bean overriding in Spring tests.
-
ClassDescriptionMark a composed annotation as eligible for Bean Override processing.Handler for Bean Override injection points that is responsible for creating the bean override instance for a given set of metadata and potentially for tracking the created instance.Strategy interface for Bean Override processing, which creates a
BeanOverrideHandler
that drives how the target bean is overridden.Strategies for bean override processing.TestExecutionListener
that enables@BeanOverride
support in tests, by injecting overridden beans in appropriate fields of the test instance.