Class ParameterManagerPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<ParameterManagerTemplate>
com.google.cloud.spring.parametermanager.ParameterManagerPropertySource
public class ParameterManagerPropertySource
extends org.springframework.core.env.EnumerablePropertySource<ParameterManagerTemplate>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource
-
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source
-
Constructor Summary
ConstructorsConstructorDescriptionParameterManagerPropertySource
(String propertySourceName, ParameterManagerTemplate parameterManagerTemplate, GcpProjectIdProvider projectIdProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) String[]
TheParameterManagerPropertySource
is not enumerable, so this always returns an empty array.Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsProperty
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
ParameterManagerPropertySource
public ParameterManagerPropertySource(String propertySourceName, ParameterManagerTemplate parameterManagerTemplate, GcpProjectIdProvider projectIdProvider)
-
-
Method Details
-
getProperty
- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<ParameterManagerTemplate>
-
getPropertyNames
TheParameterManagerPropertySource
is not enumerable, so this always returns an empty array.- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<ParameterManagerTemplate>
- Returns:
- the empty array.
-