@Primary @Component(value="cuba_ConfigStorageCache") public class ConfigStorageCache extends java.lang.Object implements ConfigStorageService
Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
static java.lang.String |
NAME |
Constructor and Description |
---|
ConfigStorageCache(BeanLocator beanLocator) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AppPropertyEntity> |
getAppProperties() |
protected ClientCacheManager |
getClientCacheManager() |
java.util.Map<java.lang.String,java.lang.String> |
getDbProperties() |
java.lang.String |
getDbProperty(java.lang.String name) |
protected ConfigStorageService |
getService() |
void |
setDbProperty(java.lang.String name,
java.lang.String value) |
public static final java.lang.String NAME
protected BeanLocator beanLocator
public ConfigStorageCache(BeanLocator beanLocator)
public java.util.Map<java.lang.String,java.lang.String> getDbProperties()
getDbProperties
in interface ConfigStorageService
public java.lang.String getDbProperty(java.lang.String name)
getDbProperty
in interface ConfigStorageService
public void setDbProperty(java.lang.String name, @Nullable java.lang.String value)
setDbProperty
in interface ConfigStorageService
protected ConfigStorageService getService()
protected ClientCacheManager getClientCacheManager()
public java.util.List<AppPropertyEntity> getAppProperties()
getAppProperties
in interface ConfigStorageService