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
-
-
Constructor Summary
Constructors Constructor Description TenantOptionPropertySource(MicroserviceSettingsService microserviceSettingsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getProperty(String name)
String[]
getPropertyNames()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TenantOptionPropertySource
public TenantOptionPropertySource(MicroserviceSettingsService microserviceSettingsService)
-
-
Method Detail
-
getPropertyNames
public String[] getPropertyNames()
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<MicroserviceSettingsService>
-
getProperty
public Object getProperty(String name)
- 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
-
-