@Component(value="cuba_ConfigStorageMBean") public class ConfigStorage extends java.lang.Object implements ConfigStorageMBean
Modifier and Type | Field and Description |
---|---|
protected ConfigStorageAPI |
configStorage |
protected ConfigStorageCommon |
configStorageCommon |
Constructor and Description |
---|
ConfigStorage() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
java.lang.String |
getAppProperty(java.lang.String name) |
java.lang.String |
getConfigValue(java.lang.String classFQN,
java.lang.String methodName) |
java.lang.String |
getDbProperty(java.lang.String name) |
java.lang.String |
printAppProperties() |
java.lang.String |
printAppProperties(java.lang.String prefix) |
java.lang.String |
printDbProperties() |
java.lang.String |
printDbProperties(java.lang.String prefix) |
java.lang.String |
removeDbProperty(java.lang.String name) |
java.lang.String |
setAppProperty(java.lang.String name,
java.lang.String value) |
java.lang.String |
setDbProperty(java.lang.String name,
java.lang.String value) |
@Inject protected ConfigStorageAPI configStorage
@Inject protected ConfigStorageCommon configStorageCommon
public java.lang.String printDbProperties()
printDbProperties
in interface ConfigStorageMBean
public java.lang.String printDbProperties(java.lang.String prefix)
printDbProperties
in interface ConfigStorageMBean
public java.lang.String getDbProperty(java.lang.String name)
getDbProperty
in interface ConfigStorageMBean
public java.lang.String setDbProperty(java.lang.String name, java.lang.String value)
setDbProperty
in interface ConfigStorageMBean
public java.lang.String removeDbProperty(java.lang.String name)
removeDbProperty
in interface ConfigStorageMBean
public void clearCache()
clearCache
in interface ConfigStorageMBean
public java.lang.String printAppProperties()
printAppProperties
in interface ConfigStorageMBean
public java.lang.String printAppProperties(java.lang.String prefix)
printAppProperties
in interface ConfigStorageMBean
public java.lang.String getAppProperty(java.lang.String name)
getAppProperty
in interface ConfigStorageMBean
public java.lang.String setAppProperty(java.lang.String name, java.lang.String value)
setAppProperty
in interface ConfigStorageMBean
public java.lang.String getConfigValue(java.lang.String classFQN, java.lang.String methodName)
getConfigValue
in interface ConfigStorageMBean