1 Reply Latest reply on Feb 19, 2006 12:47 PM by Scott Stark

    Getting value of MBeanAttributeInfo

    Robin Jacob Newbie

      I have a requirement where in I need to get the attribute of the MBean that I have exposed into a Jsp page. For this I was trying to do the below peice of code in my servlet

      RMIAdaptor server = (RMIAdaptor) ic.lookup("jmx/rmi/RMIAdaptor");
      ObjectName name = new ObjectName("jboss:service=JobMonitor");
      MBeanInfo info = server.getMBeanInfo(name);
      MBeanAttributeInfo[] attrInfo = info.getAttributes();
      Is there any ways I can get the value of the MBeanAttributeInfo object that i fetch or is there any other means of working on my requirements?