From: Julio G. <ju...@us...> - 2004-04-15 16:25:05
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/processcompound In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22669/smartfrog/src/org/smartfrog/sfcore/processcompound Modified Files: ProcessCompoundImpl.java Log Message: Added: SmartFrogRuntimeException to sfAddAttribute, sfRemoveAttribute, sfReplaceAttribute Index: ProcessCompoundImpl.java =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/processcompound/ProcessCompoundImpl.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ProcessCompoundImpl.java 15 Apr 2004 00:36:28 -0000 1.5 --- ProcessCompoundImpl.java 15 Apr 2004 16:24:56 -0000 1.6 *************** *** 223,227 **** if (parent == null) { result = super.sfDeployComponentDescription(name, this, cmp, parms); - // TODO: take care when user calls it result.sfDetach(); --- 223,226 ---- *************** *** 339,343 **** */ public void sfTerminatedWith(TerminationRecord rec, Prim comp) { ! sfRemoveAttribute(sfAttributeKeyFor(comp)); } --- 338,350 ---- */ public void sfTerminatedWith(TerminationRecord rec, Prim comp) { ! try { ! sfRemoveAttribute(sfAttributeKeyFor(comp)); ! } ! catch (RemoteException ex) { ! Logger.logQuietly(ex); ! } ! catch (SmartFrogRuntimeException ex) { ! Logger.logQuietly(ex); ! } } |