code: public void receiveData(String type, String data) {
          for (Iterator<JavametricsListener> iterator = javametricsListeners.iterator(); iterator.hasNext();) {
              JavametricsListener javametricsListener = iterator.next();
              try {
                  javametricsListener.receive(type, data);
              } catch (Throwable t) {
                  System.err.println("javametrics: Exception in listener: " + t);
                  javametricsListeners.remove(javametricsListener);
              }
          }
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.javametrics.agent.Receiver#receiveData(java.lang.String,
  java.lang.String)