Rename threadPoolTaskScheduler bean to vaultThreadPoolTaskScheduler.

Prefix bean name with vault to indicate its relation to Vault's configuration.

Closes gh-318.
This commit is contained in:
Mark Paluch
2018-10-05 10:56:06 +02:00
parent 826f73c249
commit cc8d10c5a7

View File

@@ -144,7 +144,7 @@ public abstract class AbstractVaultConfiguration implements ApplicationContextAw
*
* @return the {@link ThreadPoolTaskScheduler} to use. Must not be {@literal null}.
*/
@Bean
@Bean("vaultThreadPoolTaskScheduler")
public ThreadPoolTaskScheduler threadPoolTaskScheduler() {
ThreadPoolTaskScheduler threadPoolTaskScheduler = new ThreadPoolTaskScheduler();