code: @Override
      protected JSONObject extractData(MBeanInfo pMBeanInfo, String attribute) {
          JSONObject attrMap = new JSONObject();
  
          for (MBeanAttributeInfo attrInfo : pMBeanInfo.getAttributes()) {
              if (attribute == null || attrInfo.getName().equals(attribute)) {
                  JSONObject map = new JSONObject();
                  map.put(TYPE.getKey(), attrInfo.getType());
                  map.put(DESCRIPTION.getKey(), attrInfo.getDescription());
                  map.put(READ_WRITE.getKey(), Boolean.valueOf(attrInfo.isWritable() && attrInfo.isReadable()));
                  attrMap.put(attrInfo.getName(), map);
              }
          }
          return attrMap;
      }
docs: {@inheritDoc}