Class VaultAutoConfiguration.TaskSchedulerWrapper

java.lang.Object
org.springframework.cloud.vault.config.VaultAutoConfiguration.TaskSchedulerWrapper
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
Enclosing class:
VaultAutoConfiguration

public static class VaultAutoConfiguration.TaskSchedulerWrapper extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Wrapper to keep TaskScheduler local to Spring Cloud Vault.
Since:
3.0
Author:
Spencer Gibb, Mark Paluch
  • Constructor Details

    • TaskSchedulerWrapper

      public TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler)
    • TaskSchedulerWrapper

      public TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler, boolean acceptAfterPropertiesSet)
  • Method Details

    • getTaskScheduler

      public org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler getTaskScheduler()
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean