Uses of Class
org.springframework.test.context.bean.override.BeanOverrideHandler
Packages that use BeanOverrideHandler
Package
Description
Support case-by-case Bean overriding in Spring tests.
-
Uses of BeanOverrideHandler in org.springframework.test.context.bean.override
Methods in org.springframework.test.context.bean.override that return BeanOverrideHandlerModifier and TypeMethodDescriptionBeanOverrideProcessor.createHandler
(Annotation overrideAnnotation, Class<?> testClass, Field field) Create aBeanOverrideHandler
for the given annotated field.Methods in org.springframework.test.context.bean.override that return types with arguments of type BeanOverrideHandlerModifier and TypeMethodDescriptiondefault List<BeanOverrideHandler>
BeanOverrideProcessor.createHandlers
(Annotation overrideAnnotation, Class<?> testClass) Create a list ofBeanOverrideHandler
instances for the given override annotation and test class.static List<BeanOverrideHandler>
BeanOverrideHandler.forTestClass
(Class<?> testClass) Process the giventestClass
and build the correspondingBeanOverrideHandler
list derived from@BeanOverride
fields in the test class and its type hierarchy.