Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionas of Spring Framework 6.2.4, in favor of
AotContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0As of Spring Framework 6.2.6, in favor ofBeanOverrideHandler(Field, ResolvableType, String, String, BeanOverrideStrategy)
as of Spring Framework 6.2.4, in favor ofAbstractDelegatingSmartContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0as of Spring Framework 6.2.4, in favor ofAbstractGenericContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0as of Spring Framework 6.2.4, in favor ofAbstractGenericWebContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0in favor of callingString.formatted(Object...)
upfrontuse ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionsince Spring Framework 7.0 with no replacementsince Spring Framework 7.0 in favor of the
SpringExtension
and JUnit Jupitersince Spring Framework 7.0 with no replacementsince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupiterin favor of usingJSONAssert
directly or theJsonComparator
abstraction
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsince Spring Framework 7.0 in favor of the
SpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupitersince Spring Framework 7.0 in favor of theSpringExtension
and JUnit Jupiter
-
Deprecated MethodsMethodDescriptionas of Spring Framework 6.2.4, in favor of
AotContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0as of Spring Framework 6.0, in favor of methods defined in theSmartContextLoader
SPIas of Spring Framework 6.0, in favor of methods defined in theSmartContextLoader
SPIsince 6.1 in favor ofMergedContextConfiguration.getPropertySourceDescriptors()
as of Spring Framework 6.2.4, in favor ofAbstractDelegatingSmartContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0as of Spring Framework 6.0, in favor ofAbstractGenericContextLoader.loadContext(MergedContextConfiguration)
as of Spring Framework 6.2.4, in favor ofAbstractGenericContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0as of Spring Framework 6.2.4, in favor ofAbstractGenericWebContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints)
; to be removed in Spring Framework 8.0in favor ofMockMvcRequestBuilders.request(HttpMethod, URI)
use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.
-
Deprecated ConstructorsConstructorDescriptionAs of Spring Framework 6.2.6, in favor of
BeanOverrideHandler(Field, ResolvableType, String, String, BeanOverrideStrategy)
in favor of callingString.formatted(Object...)
upfront