public class AwsParamStoreConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<AwsParamStoreConfigDataResource>
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
AWS ParameterStore Config Data prefix.
|
Constructor and Description |
---|
AwsParamStoreConfigDataLocationResolver() |
Modifier and Type | Method and Description |
---|---|
protected com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement |
createSimpleSystemManagementClient(org.springframework.boot.BootstrapContext context) |
boolean |
isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
protected AwsParamStoreProperties |
loadConfigProperties(org.springframework.boot.context.properties.bind.Binder binder) |
protected AwsParamStoreProperties |
loadProperties(org.springframework.boot.context.properties.bind.Binder binder) |
protected <T> void |
registerAndPromoteBean(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
Class<T> type,
org.springframework.boot.BootstrapRegistry.InstanceSupplier<T> supplier)
Since hook can be activated more then one time, ApplicationContext needs to be
checked if bean is already registered to prevent Exception.
|
protected <T> void |
registerBean(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
Class<T> type,
org.springframework.boot.BootstrapRegistry.InstanceSupplier<T> supplier) |
<T> void |
registerBean(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
Class<T> type,
T instance) |
List<AwsParamStoreConfigDataResource> |
resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
List<AwsParamStoreConfigDataResource> |
resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext,
org.springframework.boot.context.config.ConfigDataLocation location,
org.springframework.boot.context.config.Profiles profiles) |
public static final String PREFIX
public AwsParamStoreConfigDataLocationResolver()
public boolean isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location)
isResolvable
in interface org.springframework.boot.context.config.ConfigDataLocationResolver<AwsParamStoreConfigDataResource>
public List<AwsParamStoreConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException
resolve
in interface org.springframework.boot.context.config.ConfigDataLocationResolver<AwsParamStoreConfigDataResource>
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
public List<AwsParamStoreConfigDataResource> resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext, org.springframework.boot.context.config.ConfigDataLocation location, org.springframework.boot.context.config.Profiles profiles) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException
resolveProfileSpecific
in interface org.springframework.boot.context.config.ConfigDataLocationResolver<AwsParamStoreConfigDataResource>
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
protected <T> void registerAndPromoteBean(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, Class<T> type, org.springframework.boot.BootstrapRegistry.InstanceSupplier<T> supplier)
public <T> void registerBean(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, Class<T> type, T instance)
protected <T> void registerBean(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, Class<T> type, org.springframework.boot.BootstrapRegistry.InstanceSupplier<T> supplier)
protected com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement createSimpleSystemManagementClient(org.springframework.boot.BootstrapContext context)
protected AwsParamStoreProperties loadProperties(org.springframework.boot.context.properties.bind.Binder binder)
protected AwsParamStoreProperties loadConfigProperties(org.springframework.boot.context.properties.bind.Binder binder)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.