Esempio 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);
 }
Esempio 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);
 }