Package org.objectweb.speedo.mim.api

Examples of org.objectweb.speedo.mim.api.PersistentObjectItf.speedoSetReferenceState()


          }
        }
        sp = (PersistentObjectItf)
            cl.loadClass(className).newInstance();
      }
            sp.speedoSetReferenceState(null);
      return sp;
    } catch (PException e) {
      throw new PersistenceException(
          "Impossible to analyze the object identifier" + oid, e);
    } catch (Exception e) {
View Full Code Here


    }
    PersistentObjectItf sp = (PersistentObjectItf) ce;
    if (sp.speedoIsActive() && state == null) {
        sp.speedoGetHome().sendEvent(HomeItf.PRE_CLEAR, sp, null);
    }
      sp.speedoSetReferenceState((StateItf) state);
    if (sp.speedoIsActive() && state == null) {
        sp.speedoGetHome().sendEvent(HomeItf.POST_CLEAR, sp, null);
    }
  }
View Full Code Here

        spClone.speedoSetEncodedPName(pm.getEncodedPName(sp));
        spClone.setCeAge(0);
        spClone.speedoIsActive(false);
        //instanciate the clone of the fields
        StateItf fieldsClone = sp.speedoCreateState();
        spClone.speedoSetReferenceState(fieldsClone);
        fieldsClone.setSpeedoPO(spClone);
        //put the association between the po and its clone into the map
        if(map != null)
          map.put(sp, clone);
        synchronized(fgHints){
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.