coreRuntime/src/sc/sync/SyncHandler.java
protected Object replaceInstance(Object inst) {
      if (inst instanceof Class) {
         ClassSyncWrapper classWrap = new ClassSyncWrapper(((Class) inst).getName());
         SyncManager.addSyncInst(classWrap, true, false, true, null, null, classWrap.className);
         return classWrap;
      }
      return inst;
   }
/** Hook for subclasses to substitute a new instance for the one in the model.  Given the original instance, return
    the instance that is to be used to synchronize against the client. */
Hook for subclasses to substitute a new instance for the one in the model.  Given the original instance, return
the instance that is to be used to synchronize against the client.
Hook for subclasses to substitute a new instance for the one in the model . Given the original instance return the instance that is to be used to synchronize against the client .
protected Object replaceInstance(Object inst) {
      if (inst instanceof Class) {
         ClassSyncWrapper classWrap = new ClassSyncWrapper(((Class) inst).getName());
         SyncManager.addSyncInst(classWrap, true, false, true, null, null, classWrap.className);
         return classWrap;
      }
      return inst;
   }
protected Object replaceInstance ( Object inst ) { if ( inst instanceof Class ) { ClassSyncWrapper classWrap = new ClassSyncWrapper ( ( ( Class ) inst ) . getName ( ) ) ; SyncManager . addSyncInst ( classWrap , true , false , true , null , null , classWrap . className ) ; return classWrap ; } return inst ; }
Hook for subclasses to substitute a new instance for the one in the model.
Hook for subclasses to substitute a new instance for the one in the model .