code: public Collection<String> listAttributeNames() {
          List<String> list = new ArrayList<String>();
          try {
              MBeanAttributeInfo[] attrs = beanInfo.getAttributes();
              for (MBeanAttributeInfo attr : attrs) {
                  list.add(attr.getName());
              }
          } catch (Exception e) {
              throwException("Could not list attribute names. Reason: ", e);
          }
          return list;
      }
docs: List of the names of each of the attributes on the MBean
  
  @return list of attribute names