ComponentData self = new GenericComponentData(); if (data.getType() == ComponentData.AGENT) { self.setType(ComponentData.AGENTBINDER); } else { self.setType(getBinderType()); }  self.setOwner(this); self.setParent(data);  data.setClassName(getBinderClassName()); for(int i=0; i < nParameters; i++) { data.addParameter(getProperty(PROP_PARAM + i).getValue()); }   ComponentData[] children = data.getChildren(); String cname = data.getName() + "|" + getBinderClassName(); boolean addedparam = false; for (int i = 0; i < children.length; i++) { ComponentData kid = children[i]; if (kid.getName().equals(cname)) {  if (nParameters > 0 && ! addedparam) { cname = cname + "|" + getProperty(PROP_PARAM+0).getValue(); addedparam = true; } else {  cname = cname + children.length; } } } self.setName(cname);  data.addChildDefaultLoc(self);
  public ComponentData addComponentData(ComponentData data) {    if(log.isErrorEnabled()) {      log.error("not supported yet");    }    return data;  }