MBeans in ConfigureMe

Since 2.1.0 version, configureMe provides the ability to view a list of configuration files, each config file separately, and its attributes, that used by default environment and content of this configuration.

For this functionality was used JMX API, namely managed beans, or MBeans and created MBeanRegisterUtil class. This class contains regMBean method, which doing registration of your mBean in MBean server. And also had been created mBeans for providing information about your configurations files:

WatchedConfigFilesMBean – provides list of config files.

Continue reading