code: public AttributeList setAttributes(ObjectName name, AttributeList attributes)
                      throws InstanceNotFoundException, ReflectionException {
  
          AttributeList a = getMBeanServer().setAttributes(name, attributes);
  
          return a;
      }
docs: /*
  Sets 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 within which the
  attributes are to be set.
  attributes - A list of attributes: The identification of the attributes
  to be set and the values they are to be set to.
  Returns:
  The list of attributes that were set, with their new values.