@Component(value="cuba_ConfigStorageCommon")
public class ConfigStorageCommon
extends java.lang.Object
Constructor and Description |
---|
ConfigStorageCommon() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppProperty(java.lang.String name) |
java.lang.String |
getConfigValue(java.lang.String classFQN,
java.lang.String methodName,
java.lang.String userLogin,
java.lang.String userPassword)
Method returns a result of config method invocation
|
java.lang.String |
printAppProperties(java.lang.String prefix) |
java.lang.String |
setAppProperty(java.lang.String name,
java.lang.String value) |
public java.lang.String printAppProperties(java.lang.String prefix)
public java.lang.String getAppProperty(java.lang.String name)
public java.lang.String setAppProperty(java.lang.String name, java.lang.String value)
public java.lang.String getConfigValue(java.lang.String classFQN, java.lang.String methodName, java.lang.String userLogin, java.lang.String userPassword)
classFQN
- fully qualified configuration interface namemethodName
- config getter method nameuserLogin
- parameter is used for authentication if there is no security context bound to the current thread
and configuration method source is DATABASEuserPassword
- see userLogin parameter description