/** * Sets the values of several attributes of a named MBean. The MBean is identified by its object * name. * * @param name The object name of the MBean within which the attributes are to be set. * @param attributes A list of attributes: The identification of the attributes to be set and the * values they are to be set to. * @return The list of attributes that were set, with their new values. * @exception InstanceNotFoundException The MBean specified is not registered in the MBean server. * @exception ReflectionException An exception occurred when trying to invoke the getAttributes * method of a Dynamic MBean. * @exception RuntimeOperationsException Wraps an <CODE>{@link java.lang.IllegalArgumentException} * </CODE>: The object name in parameter is null or attributes in parameter is null. */ public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException { return interceptor.setAttributes(name, attributes); }