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