4.2.5.2.2. ConfigStorageMBean

ConfigStorageMBean allows viewing and setting values of the application properties in the Middleware, Web Client and Web Portal blocks.

This interface has separate sets of methods for working with parameters of configuration and deployment (*AppProperties) and with runtime parameters (*DbProperties). This is due to the difference in mechanisms of storing these categories of properties.

The following usage restrictions of ConfigStorageMBean interface apply:

  • Only the properties explicitly set in the storage location are displayed. When accessed through the configuration interface, the default value is returned, if the property value is not set. However, the default value cannot be obtained through ConfigStorageMBean.

  • The changes to property values stored in files are not persistent, and are valid only until a restart of this block.

JMX ObjectName: app-core.cuba:type=ConfigStorage, app.cuba:type=ConfigStorage, app-portal.cuba:type=ConfigStorage