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
FieldsFields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
ConstructorsConstructorDescriptionTenantOptionPropertySource(MicroserviceSettingsService microserviceSettingsService) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) String[]voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsPropertyMethods 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:
getPropertyNamesin classorg.springframework.core.env.EnumerablePropertySource<MicroserviceSettingsService>
-
getProperty
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<MicroserviceSettingsService>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-