From: Julio G. <ju...@us...> - 2004-03-17 19:12:20
|
Update of /cvsroot/smartfrog/core/components/cddlm/src/org/smartfrog/services/cddlm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15342/cddlm/src/org/smartfrog/services/cddlm Modified Files: DeploymentEndpoint.java Log Message: FIX: deployAComponent replaced with runConfigurationDescriptor Index: DeploymentEndpoint.java =================================================================== RCS file: /cvsroot/smartfrog/core/components/cddlm/src/org/smartfrog/services/cddlm/DeploymentEndpoint.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DeploymentEndpoint.java 11 Mar 2004 12:16:41 -0000 1.3 --- DeploymentEndpoint.java 17 Mar 2004 19:02:50 -0000 1.4 *************** *** 32,35 **** --- 32,36 ---- import org.smartfrog.sfcore.prim.TerminationRecord; import org.smartfrog.sfcore.reference.Reference; + import org.smartfrog.sfcore.common.ConfigurationDescriptor; import java.rmi.RemoteException; *************** *** 101,105 **** try { log.info("Deploying "+url+" to "+hostname); ! SFSystem.deployAComponent(hostname,url,application,remote); return "urn://"+ application; } catch (SmartFrogException exception) { --- 102,109 ---- try { log.info("Deploying "+url+" to "+hostname); ! SFSystem.runConfigurationDescriptor( ! new ConfigurationDescriptor(application, url, ! ConfigurationDescriptor.Action.DEPLOY, ! hostname,null)); return "urn://"+ application; } catch (SmartFrogException exception) { |