Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionas of Spring Framework 7.0 in favor of
MapAccessor.as of Spring Framework 7.0.2, in favor ofMethodRetrySpec(Collection, Collection, MethodRetryPredicate, long, Duration, Duration, Duration, double, Duration)
-
Deprecated ClassesClassDescriptionas of 6.0 in favor of implementing
CachingConfigurerdirectlyas of Spring Framework 7.0 in favor ofMapAccessor.as of 6.0 in favor of implementingAsyncConfigurerdirectlyas of 6.0, in favor ofCompletableFuturewith no replacement as not actively maintained anymorewith no replacement as not actively maintained anymorewith no replacement as not actively maintained anymorewith no replacement as not actively maintained anymorewith no replacement as not actively maintained anymore
-
Deprecated FieldsFieldDescriptionas of 6.1, in favor of the
"autodetect" flagas of 6.1, in favor of the"autodetect" flagas of 6.1, in favor of the"autodetect" flagas of 6.1, in favor of the"autodetect" flag
-
Deprecated MethodsMethodDescriptionas of 7.0, always relying on
@Beanunique methods, just possibly withOptional/ObjectProviderargumentsas of 6.1, in favor of the"autodetect" flagas of 6.1, in favor of the"autodetect" flagin favor of directThreadPoolTaskScheduler.getScheduledThreadPoolExecutor()accessas of 6.0, in favor ofIntervalTask.getInitialDelayDuration()as of 6.0, in favor ofIntervalTask.getIntervalDuration()as of 6.0, in favor ofScheduledTaskRegistrar.addFixedDelayTask(Runnable, Duration)as of 6.0, in favor ofScheduledTaskRegistrar.addFixedRateTask(Runnable, Duration)as of 6.0, in favor onPeriodicTrigger.getInitialDelayDuration()as of 6.0, in favor onPeriodicTrigger.getPeriodDuration()as of 6.0, with no direct replacementas of 6.0, in favor ofPeriodicTrigger.setInitialDelay(Duration)as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)as of 6.0, in favor ofTaskScheduler.schedule(Runnable, Instant)as of 6.0, in favor ofTaskScheduler.scheduleAtFixedRate(Runnable, Duration)as of 6.0, in favor ofTaskScheduler.scheduleAtFixedRate(Runnable, Instant, Duration)as of 6.0, in favor ofTaskScheduler.scheduleWithFixedDelay(Runnable, Duration)as of 6.0, in favor ofTaskScheduler.scheduleWithFixedDelay(Runnable, Instant, Duration)as of 6.0, in favor ofTrigger.nextExecution(TriggerContext)as of 6.0, in favor onTriggerContext.lastActualExecution()as of 6.0, in favor onTriggerContext.lastCompletion()as of 6.0, in favor onTriggerContext.lastScheduledExecution()
-
Deprecated ConstructorsConstructorDescriptionas of Spring Framework 7.0.2, in favor of
MethodRetrySpec(Collection, Collection, MethodRetryPredicate, long, Duration, Duration, Duration, double, Duration)in favor ofConcurrentTaskExecutor(Executor)with an externally provided Executorin favor ofConcurrentTaskScheduler(ScheduledExecutorService)with an externally provided Executoras of 6.0, in favor onFixedDelayTask(Runnable, Duration, Duration)as of 6.0, in favor onFixedRateTask(Runnable, Duration, Duration)as of 6.0, in favor onIntervalTask(Runnable, Duration)as of 6.0, in favor onIntervalTask(Runnable, Duration, Duration)as of 6.0, in favor onPeriodicTrigger(Duration)as of 6.0, in favor onPeriodicTrigger(Duration)as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant)
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionas of 7.0, always relying on
@Beanunique methods, just possibly withOptional/ObjectProviderarguments