Package io.awspring.cloud.core.config
Class AwsPropertySource<K extends AwsPropertySource,T>
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<T>
io.awspring.cloud.core.config.AwsPropertySource<K,T>
- Type Parameters:
K
- - selfT
- - the source type
- Direct Known Subclasses:
ParameterStorePropertySource
,SecretsManagerPropertySource
public abstract class AwsPropertySource<K extends AwsPropertySource,T>
extends EnumerablePropertySource<T>
Base class for all AWS loaded property sources.
- Since:
- 3.0
- Author:
- Maciej Walkowiak
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
PropertySource.StubPropertySource
-
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsProperty, getPropertyNames
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getProperty, getSource, hashCode, named, toString
-
Constructor Details
-
AwsPropertySource
-
-
Method Details
-
init
public abstract void init()Initializes & fetches properties. -
copy
Creates a non-initialized copy of the property source.- Returns:
- a property source
-