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 String
protected S3Properties
loadProperties
(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, registerBean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.boot.context.config.ConfigDataLocationResolver
resolveProfileSpecific
-
Field Details
-
PREFIX
AWS S3 Config Data prefix.- See Also:
-
-
Constructor Details
-
S3ConfigDataLocationResolver
public S3ConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory deferredLogFactory)
-
-
Method Details
-
getPrefix
- Specified by:
getPrefix
in 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:
resolve
in interfaceorg.springframework.boot.context.config.ConfigDataLocationResolver<S3ConfigDataResource>
- Overrides:
resolve
in classAbstractAwsConfigDataLocationResolver<S3ConfigDataResource>
- Throws:
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
-
loadProperties
protected S3Properties loadProperties(org.springframework.boot.context.properties.bind.Binder binder)
-