Class AppConfigDataLocationResolver
java.lang.Object
io.awspring.cloud.autoconfigure.config.AbstractAwsConfigDataLocationResolver<AppConfigDataResource>
io.awspring.cloud.autoconfigure.config.appconfig.AppConfigDataLocationResolver
- All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLocationResolver<AppConfigDataResource>
public class AppConfigDataLocationResolver
extends AbstractAwsConfigDataLocationResolver<AppConfigDataResource>
Resolves config data locations in AWS App Config.
- Since:
- 4.1.0
- Author:
- Matej Nedic
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAppConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected AppConfigPropertiesloadProperties(org.springframework.boot.context.properties.bind.Binder binder) resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext, org.springframework.boot.context.config.ConfigDataLocation location) Methods inherited from class io.awspring.cloud.autoconfigure.config.AbstractAwsConfigDataLocationResolver
configure, getCustomContexts, isResolvable, loadAwsProperties, loadCredentialsProperties, loadRegionProperties, registerAndPromoteBean, registerBean, registerBeanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.context.config.ConfigDataLocationResolver
resolveProfileSpecific
-
Field Details
-
PREFIX
AWS App Config Data prefix.- See Also:
-
-
Constructor Details
-
AppConfigDataLocationResolver
public AppConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory)
-
-
Method Details
-
getPrefix
- Specified by:
getPrefixin classAbstractAwsConfigDataLocationResolver<AppConfigDataResource>
-
resolve
public List<AppConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext, org.springframework.boot.context.config.ConfigDataLocation location) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException - Specified by:
resolvein interfaceorg.springframework.boot.context.config.ConfigDataLocationResolver<AppConfigDataResource>- Overrides:
resolvein classAbstractAwsConfigDataLocationResolver<AppConfigDataResource>- Throws:
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
-
loadProperties
protected AppConfigProperties loadProperties(org.springframework.boot.context.properties.bind.Binder binder)
-