public CreateNewChildThread(Object name, Prim parent, ComponentDescription cmp, Context parms, Prim deployer) throws SmartFrogException{  if (deployer==null) { if ((parent==null)||!(parent instanceof Compound)) { throw new SmartFrogException("Wrong parentDeployer"); } else { deployer = parent; } } else { if (!(deployer instanceof Compound)) { throw new SmartFrogException("Wrong deployer"); } }  String deployerName = "parentDeployer"; try { deployerName = deployer.sfCompleteName().toString(); } catch (RemoteException ex) { }  this.setName("CreateNewChildThread-"+deployerName+"."+name);  this.name=name;  this.parent=(Compound)parent;  this.deployer=(Compound)deployer;  this.cmp=cmp;  this.parms=parms;
public CreateNewChildThread(Object name, Prim parent, ComponentDescription cmp, Context parms) throws SmartFrogException{ this(name,parent,cmp,parms,null);
 public CreateNewChildThread(Object name, Prim parent, ComponentDescription cmp, Context parms, Prim deployer) throws SmartFrogException{      if (deployer==null) {          if ((parent==null)||!(parent instanceof Compound)) {              throw new SmartFrogException("Wrong parentDeployer");          } else {              deployer = parent;          }      } else {          if (!(deployer instanceof Compound)) {              throw new SmartFrogException("Wrong deployer");          }      }      String deployerName = "parentDeployer";      try {          deployerName = deployer.sfCompleteName().toString();      } catch (RemoteException ex) {      }      this.setName("CreateNewChildThread-"+deployerName+"."+name);      this.name=name;      this.parent=(Compound)parent;      this.deployer=(Compound)deployer;      this.cmp=cmp;      this.parms=parms; }