Java MBean getDescription(MBeanFeatureInfo element)

Here you can find the source of getDescription(MBeanFeatureInfo element)

Description

get Description

License

Open Source License

Declaration

private static String getDescription(MBeanFeatureInfo element) 

Method Source Code

//package com.java2s;

import javax.management.MBeanFeatureInfo;

public class Main {
    private static String getDescription(MBeanFeatureInfo element) {
        String desc = element.getDescription();
        return desc != null && desc.equals(element.getName()) ? null : desc; // Remove silly descriptions
    }/*  w  w w . j av  a  2 s.co m*/
}

Related

  1. getAttribute(MBeanServer mbeanServer, ObjectName objectName, String attributeName)
  2. getAttribute(MBeanServerConnection connection, ObjectName objectName, String attribute)
  3. getAttribute(ObjectName on, MBeanServerConnection server, String name)
  4. getClassFromInfo(MBeanAttributeInfo attributeInfo)
  5. getCompatibleData(Object object, MBeanParameterInfo beanParameterInfo)
  6. getDynamicMBean(String mbeanName)
  7. getJmxNameInternal(final Class mBeanClass, final String name)
  8. getMatchingObjectNames(CharSequence wildcardEq, CharSequence wildcardWc, MBeanServerConnection conn)
  9. getMBeanAttribute(final MBeanServerConnection connection, final String nameString, final String attributeName)