Class S3ConfigDataLocationResolver
java.lang.Object
io.awspring.cloud.autoconfigure.config.AbstractAwsConfigDataLocationResolver<S3ConfigDataResource>
io.awspring.cloud.autoconfigure.config.s3.S3ConfigDataLocationResolver
- All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLocationResolver<S3ConfigDataResource>
public class S3ConfigDataLocationResolver
extends AbstractAwsConfigDataLocationResolver<S3ConfigDataResource>
Resolves config data locations in AWS S3.
- Since:
- 3.3.0
- Author:
- Kunal Varpe, Matej Nedic
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionS3ConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected S3PropertiesloadProperties(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 AbstractAwsConfigDataLocationResolver
configure, getCustomContexts, isResolvable, loadAwsProperties, loadCredentialsProperties, loadRegionProperties, registerAndPromoteBean, registerBean, registerBeanMethods inherited from class 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
-
-
Constructor Details
-
S3ConfigDataLocationResolver
public S3ConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory)
-
-
Method Details
-
getPrefix
- Specified by:
getPrefixin classAbstractAwsConfigDataLocationResolver<S3ConfigDataResource>
-
resolve
public List<S3ConfigDataResource> 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<S3ConfigDataResource>- Overrides:
resolvein classAbstractAwsConfigDataLocationResolver<S3ConfigDataResource>- Throws:
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
-
loadProperties
protected S3Properties loadProperties(org.springframework.boot.context.properties.bind.Binder binder)
-