From: Julio G. <ju...@us...> - 2005-04-27 12:20:39
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/compound In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10007/compound Modified Files: CompoundImpl.java Log Message: ComponentDescription Cloned in CreateNewChild. This will go into final stable release. Index: CompoundImpl.java =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/compound/CompoundImpl.java,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** CompoundImpl.java 18 Apr 2005 10:17:30 -0000 1.42 --- CompoundImpl.java 27 Apr 2005 12:20:13 -0000 1.43 *************** *** 24,28 **** import java.util.Enumeration; import java.util.Vector; - import java.util.List; import org.smartfrog.sfcore.common.TerminatorThread; --- 24,27 ---- *************** *** 39,42 **** --- 38,42 ---- import org.smartfrog.sfcore.common.SmartFrogResolutionException; import org.smartfrog.sfcore.componentdescription.ComponentDescription; + import org.smartfrog.sfcore.componentdescription.ComponentDescriptionImpl; import org.smartfrog.sfcore.deployer.SFDeployer; import org.smartfrog.sfcore.prim.Dump; *************** *** 47,53 **** import org.smartfrog.sfcore.reference.Reference; import org.smartfrog.sfcore.reference.ReferencePart; - import java.util.Collections; - import java.util.ArrayList; - --- 47,50 ---- *************** *** 292,296 **** } } ! comp = sfDeployComponentDescription(name, parent, cmp, parms); // it is now a child, so need to guard against double calling of lifecycle... try { --- 289,293 ---- } } ! comp = sfDeployComponentDescription(name, parent, ((ComponentDescriptionImpl)cmp), parms); // it is now a child, so need to guard against double calling of lifecycle... try { |