code: public void addMBeanAttribute(String mbean, String attribute,
  			String composite, GMetricType type, String units,
  			GMetricSlope slope, String publishName, int dmax) throws Exception {
  		MBeanAttribute mba = new MBeanAttribute(this, process, attribute,
  				composite, type, units, slope, publishName, dmax);
  		addMBeanAttribute(mbean, mba);
  	}
docs: Adds a mbean name/attribute pair to be sampled
  
  @param mbean
  the name of the mbean
  @param attribute
  the name of the attribute
  @param composite
  the name of the composite
  @param publishName
  the name to publish this attribute on
  @param tmax
  maximum time (in seconds) between gmetric calls
  @param dmax
  lifetime (in seconds) of this metric (use 0 for always alive)
  @throws java.lang.Exception