public class VaultConfigDataLoader extends Object implements org.springframework.boot.context.config.ConfigDataLoader<VaultConfigLocation>
ConfigDataLoader for Vault for VaultConfigLocation. This class
materializes property sources by using Vault and
VaultConfigLocation. This class also ensures that all necessary infrastructure
beans are registered in the BootstrapRegistry. Registrations made by this
config data loader are typically propagated into the BeanFactory as this
configuration mirrors to some extent VaultAutoConfiguration and
VaultReactiveAutoConfiguration.
Infrastructure beans can be customized by registering instances through
BootstrapRegistryInitializer.
VaultConfigLocation,
VaultAutoConfiguration,
VaultReactiveAutoConfiguration| Constructor and Description |
|---|
VaultConfigDataLoader(org.springframework.boot.logging.DeferredLogFactory logFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.context.config.ConfigData |
load(org.springframework.boot.context.config.ConfigDataLoaderContext context,
VaultConfigLocation location) |
public VaultConfigDataLoader(org.springframework.boot.logging.DeferredLogFactory logFactory)
public org.springframework.boot.context.config.ConfigData load(org.springframework.boot.context.config.ConfigDataLoaderContext context,
VaultConfigLocation location)
throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException
load in interface org.springframework.boot.context.config.ConfigDataLoader<VaultConfigLocation>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.