code: private void scanMBeanAttributes(MBeanConfig mBeanConfig,
  			ObjectName mBeanName) {
  		MBeanInfo mBeanInfo;
  		try {
  			mBeanInfo = mBeanServer.getMBeanInfo(mBeanName);
  			MBeanAttributeInfo[] infos = mBeanInfo.getAttributes();
  			for (int i = 0; i < infos.length; i++) {
  				MBeanAttributeConfig cMBAttr = makeConfigMBeanAttribute(
  						mBeanName, infos[i]);
  				mBeanConfig.addChild(cMBAttr);
  			}
  		} catch (IntrospectionException e) {
  			System.err.println(e.getMessage());
  		} catch (InstanceNotFoundException e) {
  			System.err.println(e.getMessage());
  		} catch (ReflectionException e) {
  			System.err.println(e.getMessage());
  		}
  	}
docs: Stores all attributes of an MBean into its MBeanConfig object
  
  @param mBeanConfig
  the configuration object to store the attributes into
  @param mBeanName
  the name of the MBean object we are getting the attributes
  from