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.


ConfigInfoMBean – contains the name of the config file, methods for view its content and attributes, which are used by default environment.

To see the result of this functionality you can use jconsole or moskito.

Some screenShots with results:
– in Moskito
Screen Shot 2013-08-08 at 10.54.06 AM

Screen Shot 2013-08-08 at 10.54.32 AM

– in jConsole

Screen Shot 2013-08-08 at 10.59.17 AM

Screen Shot 2013-08-08 at 11.00.17 AM

Screen Shot 2013-08-08 at 11.00.08 AM

Screen Shot 2013-08-08 at 10.59.57 AM

Leave a Reply

Your email address will not be published. Required fields are marked *

*