Skip to content
Leon Rosenberg edited this page Jun 16, 2018 · 4 revisions

ConfigureMe JMX MBeans

ConfigureMe exposes information about the current configurations via JMX MBeans.

Supported MBeans

Name Description
WatchedConfigFiles Provides the ability to view in current project list of all configuration files, which are watched.
ConfigInfo This type of mBean created for each config and contains config file name, map of attributes, which used by default environment. Also contain method, which show config content.

MBean class structure

WatchedConfigFiles

Field/Method name Description
configNames  set of configuration files names
getConfigNames()  get from ConfigurationSourceRegistry all sourceKeys, convert to set of configuration files names and return it

ConfigInfo

Field/Method name Description
configName configuration file name
getConfigName() return configuration file name
showContent() return content of current configuration file
getAttributes() return map of attributes, which used by default environment
setAttributeValue(attrName, attrValue) set new value for attribute in defaultEnvironment