code: protected String getAttributeValue(MBeanServerExecutor pMBeanServerExecutor, final ObjectName pMBean, final String pAttribute) {
          try {
              return pMBeanServerExecutor.call(pMBean, GET_ATTRIBUTE_HANDLER, pAttribute);
          } catch (IOException e) {
              return null;
          } catch (ReflectionException e) {
              return null;
          } catch (JMException e) {
              return null;
          }
      }
docs: Get the string representation of an attribute
  
  
  
  @param pMBeanServerExecutor set of MBeanServers to query. The first one wins.
  @param pMBean name of MBean to lookup
  @param pAttribute attribute to lookup
  @return string value of attribute or <code>null</code> if the attribute could not be fetched