code: public AttributeList getAttributes(ObjectName name, String[] attributes)
                      throws InstanceNotFoundException, ReflectionException {
  
          AttributeList a = getMBeanServer().getAttributes(name, attributes);
  
          return a;
      }
docs: /*
  Gets the values of several attributes of a named managed object. The
  managed object is identified by its object name.
  Throws:
  javax.management.InstanceNotFoundException
  javax.management.ReflectionException
  java.rmi.RemoteException
  Parameters:
  name - The object name of the managed object from which the
  attributes are retrieved.
  attributes - A list of the attributes to be retrieved.
  Returns:
  An instance of javax.management.AttributeList which contains a list of
  the retrieved attributes as javax.management.Attribute instances.