Ejemplo n.º 1
0
 public synchronized void register(final ObsInterface observee) throws PersistenceException {
   SubjInterface subService = getThis().getSubService();
   if (subService == null) {
     subService = model.Subj.createSubj(this.isDelayed$Persistence());
     getThis().setSubService(subService);
   }
   subService.register(observee);
 }
Ejemplo n.º 2
0
 public synchronized void updateObservers(final model.meta.Mssgs event)
     throws PersistenceException {
   SubjInterface subService = getThis().getSubService();
   if (subService == null) {
     subService = model.Subj.createSubj(this.isDelayed$Persistence());
     getThis().setSubService(subService);
   }
   subService.updateObservers(event);
 }