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 Summary
ConstructorsConstructorDescriptionTaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler) TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler, boolean acceptAfterPropertiesSet) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
-
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:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-