@Override
	 /**
     * Sets the values of several attributes of the Dynamic MBean, and returns
     * the list of attributes that have been set.
     */
	public AttributeList setAttributes(AttributeList attributes) {
		if(attributes == null){
			  throw new RuntimeOperationsException(
                      new IllegalArgumentException(
                                 "AttributeList attributes cannot be null"),
                      "Cannot invoke a setter of " + dClassName);
		}
		AttributeList resultList = new AttributeList();
		
		if(attributes.isEmpty()){
			return resultList;
		}
		for(Iterator i = attributes.iterator();i.hasNext();){
			Attribute attr = (Attribute)i.next();
			try{
				setAttribute(attr);
				String name = attr.getName();
				Object value = getAttribute(name);
				resultList.add(new Attribute(name,value));
			}catch(Exception e){
				e.printStackTrace();
			}
		}
		return null;
	}