public static class AbstractVaultConfiguration.TaskSchedulerWrapper extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
ThreadPoolTaskScheduler
local to Spring Vault and to not
expose the bean globally.Modifier | Constructor and Description |
---|---|
|
TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler) |
protected |
TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler,
boolean acceptAfterPropertiesSet,
boolean acceptDestroy) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
static AbstractVaultConfiguration.TaskSchedulerWrapper |
fromInstance(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler scheduler)
Factory method to adapt an existing
ThreadPoolTaskScheduler bean
without calling lifecycle methods. |
public TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler)
protected TaskSchedulerWrapper(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler, boolean acceptAfterPropertiesSet, boolean acceptDestroy)
public static AbstractVaultConfiguration.TaskSchedulerWrapper fromInstance(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler scheduler)
ThreadPoolTaskScheduler
bean
without calling lifecycle methods.scheduler
- the actual ThreadPoolTaskScheduler
.ThreadPoolTaskScheduler
.afterPropertiesSet()
,
destroy()
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.