2 Replies Latest reply on Apr 19, 2010 8:54 AM by Rafael Soares (Tuelho)

    JMX plugin extension

    Rafael Soares (Tuelho) Novice



      I want to develop a plugin to manage Schedule MBeans (org.jboss.varia.scheduler.Scheduler) deployed on JBoss AS...


      Because JBAS Schedulers are services defined as a MBean (xxx-service.xml descriptor packaged inside a .SAR) they doesn´t has a pattern name to query on JMX MBean server. But it is a org.jboss.varia.scheduler.Scheduler type. Is there any way to discovery a JMX MBean on JBoss AS by a class type?


      I saw that org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent use objectName to find a MBean. But when MBean doesn´t has a pattern name defined we have a problem...


      What would be a better way to implement a Plugin to manage this type of MBean on JBoss AS?