How to add description to JMX MXBean
问题 I want to expose my MXBeans on Apache-Tomcat 7.0. Though my MXBean registers successfully, I am unable to add description to the Operations that are exposed by thoese MXBeans. Registering MXBeans MBeanServer mbs = ManagementFactory.getPlatformMBeanServer(); ObjectName m_mxbeanOName = new ObjectName( "MyMXBean:type=" + "MyComponent"+",name=MyMXBean"); MyMXBean m_mxbean = new MyMXBean (); if(!mbs.isRegistered(m_mxbeanOName)) mbs.registerMBean(m_mxbean, m_mxbeanOName); MyMXBean Interface public