Changeset 6759


Ignore:
Timestamp:
10/03/06 10:53:49 (5 years ago)
Author:
sys
Message:

Verouillages synchro

Location:
trunk/Jav_CO/com/scenari/m/co/univers/wsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_CO/com/scenari/m/co/univers/wsp/CompTypeSet.java

    r5530 r6759  
    403403                fMapUriById.put(vId, pUriComp); 
    404404            } 
    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); 
    411409            //On ajoute à la Map. 
    412410            fMapCompSetByUri.put(pUriComp, vCompSetNew); 
    413         } 
    414         return vCompSetNew; 
     411            return vCompSetNew; 
     412        } 
    415413    } 
    416414 
  • trunk/Jav_CO/com/scenari/m/co/univers/wsp/WPrescription.java

    r5162 r6759  
    5757import com.scenari.s.fw.log.HLogMgr; 
    5858 
     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 */ 
    5964public class WPrescription implements IWPrescription, IHAliasResolver { 
    6065 
     
    133138     */ 
    134139    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 
    143141    } 
    144142 
Note: See TracChangeset for help on using the changeset viewer.