code: public Object getAttribute(ObjectName name, String attribute)
                      throws MBeanException, AttributeNotFoundException, InstanceNotFoundException,
                      ReflectionException {
  
          Object o = getMBeanServer().getAttribute(name, attribute);
  
          return o;
      }
docs: /*
  Gets the value of a specific attribute of a named managed object. The
  managed object is identified by its object name.
  Throws:
  javax.management.MBeanException
  javax.management.AttributeNotFoundException
  javax.management.InstanceNotFoundException
  javax.management.ReflectionException
  java.rmi.RemoteException
  Parameters:
  name - The object name of the managed object from which the attribute
  is to be retrieved.
  attribute - A String specifying the name of the attribute to be
  retrieved.
  Returns:
  The value of the retrieved attribute.