public void removePersistenceService(PersistenceService service) { persistenceServices.remove(service.getId()); }
public void addPersistenceService(PersistenceService service) { if (service instanceof QueryablePersistenceService) { persistenceServices.put(service.getId(), (QueryablePersistenceService) service); } }