@ManagedResource(description="Manages configuration properties on Web Portal")
public interface ConfigStorageMBean
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 |
printAppProperties() |
java.lang.String |
printAppProperties(java.lang.String prefix) |
java.lang.String |
setAppProperty(java.lang.String name,
java.lang.String value) |
@ManagedOperation(description="Print all file-stored properties") java.lang.String printAppProperties()
@ManagedOperation(description="Print file-stored properties, filtering properties by beginning of name") @ManagedOperationParameters(value=@ManagedOperationParameter(name="prefix",description="")) java.lang.String printAppProperties(java.lang.String prefix)
@ManagedOperation(description="Print a file-stored property value") @ManagedOperationParameters(value=@ManagedOperationParameter(name="name",description="")) java.lang.String getAppProperty(java.lang.String name)
@ManagedOperation(description="Set a file-stored property value in memory until the server restart") @ManagedOperationParameter(name="name",description="") @ManagedOperationParameter(name="value",description="") java.lang.String setAppProperty(java.lang.String name, java.lang.String value)
@ManagedOperation(description="Invoke a getter method of configuration interface and print the result") @ManagedOperationParameter(name="classFQN",description="Fully qualified name of a configuration interface") @ManagedOperationParameter(name="methodName",description="Getter method name") @ManagedOperationParameter(name="userLogin",description="User login that will be used for creating a user session") java.lang.String getConfigValue(java.lang.String classFQN, java.lang.String methodName, java.lang.String userLogin)