Class TenantOptionPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<MicroserviceSettingsService>
com.cumulocity.microservice.settings.TenantOptionPropertySource
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class TenantOptionPropertySource
extends org.springframework.core.env.EnumerablePropertySource<MicroserviceSettingsService>
implements org.springframework.context.ApplicationContextAware
-
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
ConstructorDescriptionTenantOptionPropertySource
(MicroserviceSettingsService microserviceSettingsService) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) String[]
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) 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
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
TenantOptionPropertySource
-
-
Method Details
-
getPropertyNames
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<MicroserviceSettingsService>
-
getProperty
- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<MicroserviceSettingsService>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-