_coordinators.addObject(osc);  NSSelector sel = new NSSelector("publishChange", new Class[] { NSNotification.class } ); NSNotificationCenter.defaultCenter().addObserver(this, sel, EOObjectStoreCoordinator.ObjectsChangedInStoreNotification, osc);
if(!_coordinators.containsObject(osc)) { _coordinators.addObject(osc); NSSelector sel = new NSSelector("publishChange", new Class[] { NSNotification.class } ); NSNotificationCenter.defaultCenter().addObserver(this, sel, EOObjectStoreCoordinator.ObjectsChangedInStoreNotification, osc); } else { log.error("Adding same coodinator twice!"); }
    public void addObjectStore(EOObjectStoreCoordinator osc) {        _coordinators.addObject(osc);                NSSelector sel = new NSSelector("publishChange", new Class[] { NSNotification.class } );        NSNotificationCenter.defaultCenter().addObserver(this, sel, EOObjectStoreCoordinator.ObjectsChangedInStoreNotification, osc);    }