Changeset 6759
- Timestamp:
- 10/03/06 10:53:49 (5 years ago)
- Location:
- trunk/Jav_CO/com/scenari/m/co/univers/wsp
- Files:
-
- 2 edited
-
CompTypeSet.java (modified) (1 diff)
-
WPrescription.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_CO/com/scenari/m/co/univers/wsp/CompTypeSet.java
r5530 r6759 403 403 fMapUriById.put(vId, pUriComp); 404 404 } 405 } 406 //Cette source n'est plus en mémoire. 407 ComposantsSet vCompSetNew = new ComposantsSet(); 408 vCompSetNew.fId = vId; 409 vCompSetNew.fSource = fContenuMgr.fUnivers.hGetEspaceSources().hFindSource(pUriComp); 410 synchronized (fMapCompSetByUri) { 405 //Cette source n'est plus en mémoire. 406 ComposantsSet vCompSetNew = new ComposantsSet(); 407 vCompSetNew.fId = vId; 408 vCompSetNew.fSource = fContenuMgr.fUnivers.hGetEspaceSources().hFindSource(pUriComp); 411 409 //On ajoute à la Map. 412 410 fMapCompSetByUri.put(pUriComp, vCompSetNew); 413 }414 return vCompSetNew;411 return vCompSetNew; 412 } 415 413 } 416 414 -
trunk/Jav_CO/com/scenari/m/co/univers/wsp/WPrescription.java
r5162 r6759 57 57 import com.scenari.s.fw.log.HLogMgr; 58 58 59 /** 60 * Prescription : dans cette implémentation : non thread safe, mais invariant, excpeté pour la liste 61 * des composants ajoutés progressivement qui est synchronisée. 62 * 63 */ 59 64 public class WPrescription implements IWPrescription, IHAliasResolver { 60 65 … … 133 138 */ 134 139 public final void hCheckUpdate(HUpdates pUpdates) throws Exception { 135 if (fDocSourceDeclaration != null && fDocSourceDeclaration.hIsUpdated() >= IHSource.UPDATED_UNKNOWN) { 136 wLoadDeclaration(); 137 } 138 fCompTypeSet = fContenuMgr.wGetJeuFc(fUriJeuFc); 139 fCompTypeSet.hLoadComposantTypes(true); 140 fCompRoot = fCompTypeSet.hGetComposantRoot(fUriCompRoot).hGetComposantRoot(true); 141 fComps.clear(); 142 xAddComps(fCompTypeSet.hGetComposantsSet(fUriCompRoot).hGetComposants(true)); 140 //not in use in this implementation 143 141 } 144 142
Note: See TracChangeset
for help on using the changeset viewer.