Skip navigation links
spring-context
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.scheduling.support.CronSequenceGenerator
    as of 5.3, in favor of CronExpression
    org.springframework.scheduling.support.CronSequenceGenerator(String)
    as of 5.3, in favor of CronExpression.parse(String)
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.ui.context.HierarchicalThemeSource
    as of 6.0 in favor of using CSS, without direct replacement
    org.springframework.ui.context.Theme
    as of 6.0 in favor of using CSS, without direct replacement
    org.springframework.ui.context.ThemeSource
    as of 6.0 in favor of using CSS, without direct replacement
  • Deprecated Classes
    Class
    Description
    org.springframework.cache.annotation.CachingConfigurerSupport
    as of 6.0 in favor of implementing CachingConfigurer directly
    org.springframework.scheduling.annotation.AsyncConfigurerSupport
    as of 6.0 in favor of implementing AsyncConfigurer directly
    org.springframework.scheduling.annotation.AsyncResult
    as of 6.0, in favor of CompletableFuture
    org.springframework.scheduling.support.CronSequenceGenerator
    as of 5.3, in favor of CronExpression
    org.springframework.ui.context.support.DelegatingThemeSource
    as of 6.0 in favor of using CSS, without direct replacement
    org.springframework.ui.context.support.ResourceBundleThemeSource
    as of 6.0 in favor of using CSS, without direct replacement
    org.springframework.ui.context.support.SimpleTheme
    as of 6.0 in favor of using CSS, without direct replacement
    org.springframework.ui.context.support.UiApplicationContextUtils
    as of 6.0 in favor of using CSS, without direct replacement
  • Deprecated Methods
    Method
    Description
    org.springframework.context.support.AbstractResourceBasedMessageSource.isFallbackToSystemLocale()
    as of 5.2.2, in favor of AbstractResourceBasedMessageSource.getDefaultLocale()
    org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory, Properties)
    in favor of PropertySourcesPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory, ConfigurablePropertyResolver)
    org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.execute(Runnable, long)
    org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.execute(Runnable, long)
    org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.execute(Runnable, long)
    org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.isRemoveOnCancelPolicy()
    as of 5.3.9, in favor of direct ThreadPoolTaskScheduler.getScheduledThreadPoolExecutor() access
    org.springframework.scheduling.config.IntervalTask.getInitialDelay()
    as of 6.0, in favor of IntervalTask.getInitialDelayDuration()
    org.springframework.scheduling.config.IntervalTask.getInterval()
    as of 6.0, in favor of IntervalTask.getIntervalDuration()
    org.springframework.scheduling.config.ScheduledTaskRegistrar.addFixedDelayTask(Runnable, long)
    as of 6.0, in favor of ScheduledTaskRegistrar.addFixedDelayTask(Runnable, Duration)
    org.springframework.scheduling.config.ScheduledTaskRegistrar.addFixedRateTask(Runnable, long)
    as of 6.0, in favor of ScheduledTaskRegistrar.addFixedRateTask(Runnable, Duration)
    org.springframework.scheduling.support.PeriodicTrigger.getInitialDelay()
    as of 6.0, in favor on PeriodicTrigger.getInitialDelayDuration()
    org.springframework.scheduling.support.PeriodicTrigger.getPeriod()
    as of 6.0, in favor on PeriodicTrigger.getPeriodDuration()
    org.springframework.scheduling.support.PeriodicTrigger.getTimeUnit()
    as of 6.0, with no direct replacement
    org.springframework.scheduling.support.PeriodicTrigger.setInitialDelay(long)
    as of 6.0, in favor of PeriodicTrigger.setInitialDelay(Duration)
    org.springframework.scheduling.support.SimpleTriggerContext.update(Date, Date, Date)
    as of 6.0, in favor of SimpleTriggerContext.update(Instant, Instant, Instant)
    org.springframework.scheduling.TaskScheduler.schedule(Runnable, Date)
    as of 6.0, in favor of TaskScheduler.schedule(Runnable, Instant)
    org.springframework.scheduling.TaskScheduler.scheduleAtFixedRate(Runnable, long)
    as of 6.0, in favor of TaskScheduler.scheduleAtFixedRate(Runnable, Duration)
    org.springframework.scheduling.TaskScheduler.scheduleAtFixedRate(Runnable, Date, long)
    as of 6.0, in favor of TaskScheduler.scheduleAtFixedRate(Runnable, Instant, Duration)
    org.springframework.scheduling.TaskScheduler.scheduleWithFixedDelay(Runnable, long)
    as of 6.0, in favor of TaskScheduler.scheduleWithFixedDelay(Runnable, Duration)
    org.springframework.scheduling.TaskScheduler.scheduleWithFixedDelay(Runnable, Date, long)
    as of 6.0, in favor of TaskScheduler.scheduleWithFixedDelay(Runnable, Instant, Duration)
    org.springframework.scheduling.Trigger.nextExecutionTime(TriggerContext)
    as of 6.0, in favor of Trigger.nextExecution(TriggerContext)
    org.springframework.scheduling.TriggerContext.lastActualExecutionTime()
    as of 6.0, in favor on TriggerContext.lastActualExecution()
    org.springframework.scheduling.TriggerContext.lastCompletionTime()
    as of 6.0, in favor on TriggerContext.lastCompletion()
    org.springframework.scheduling.TriggerContext.lastScheduledExecutionTime()
    as of 6.0, in favor on TriggerContext.lastScheduledExecution()
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.scheduling.config.FixedDelayTask(Runnable, long, long)
    as of 6.0, in favor on FixedDelayTask(Runnable, Duration, Duration)
    org.springframework.scheduling.config.FixedRateTask(Runnable, long, long)
    as of 6.0, in favor on FixedRateTask(Runnable, Duration, Duration)
    org.springframework.scheduling.config.IntervalTask(Runnable, long)
    as of 6.0, in favor on IntervalTask(Runnable, Duration)
    org.springframework.scheduling.config.IntervalTask(Runnable, long, long)
    as of 6.0, in favor on IntervalTask(Runnable, Duration, Duration)
    org.springframework.scheduling.support.CronSequenceGenerator(String)
    as of 5.3, in favor of CronExpression.parse(String)
    org.springframework.scheduling.support.CronSequenceGenerator(String, TimeZone)
    as of 5.3, in favor of CronExpression.parse(String)
    org.springframework.scheduling.support.PeriodicTrigger(long)
    as of 6.0, in favor on PeriodicTrigger(Duration)
    org.springframework.scheduling.support.PeriodicTrigger(long, TimeUnit)
    as of 6.0, in favor on PeriodicTrigger(Duration)
    org.springframework.scheduling.support.SimpleTriggerContext(Date, Date, Date)
    as of 6.0, in favor of SimpleTriggerContext(Instant, Instant, Instant)