Uses of Enum Class
org.springframework.test.context.bean.override.BeanOverrideStrategy
Packages that use BeanOverrideStrategy
Package
Description
Support case-by-case Bean overriding in Spring tests.
-
Uses of BeanOverrideStrategy in org.springframework.test.context.bean.override
Methods in org.springframework.test.context.bean.override that return BeanOverrideStrategyModifier and TypeMethodDescriptionfinal BeanOverrideStrategyBeanOverrideHandler.getStrategy()Get theBeanOverrideStrategyfor thisBeanOverrideHandler, which influences how and when the bean override instance should be created.static BeanOverrideStrategyReturns the enum constant of this class with the specified name.static BeanOverrideStrategy[]BeanOverrideStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.test.context.bean.override with parameters of type BeanOverrideStrategyModifierConstructorDescriptionprotectedBeanOverrideHandler(Field field, ResolvableType beanType, String beanName, BeanOverrideStrategy strategy)