code: private void discoverAttributeFields(Map<String, JmxAttributeFieldInfo> attributeFieldInfoMap,
  			Set<String> attributeNameSet, List<MBeanAttributeInfo> attributes) {
  		for (Class<?> clazz = target.getClass(); clazz != Object.class; clazz = clazz.getSuperclass()) {
  			discoverAttributeFields(attributeFieldInfoMap, attributeNameSet, attributes, clazz);
  		}
  	}
docs: Find attribute methods from our object that will be exposed via JMX.