예제 #1
0
 public void removePersistenceService(PersistenceService service) {
   persistenceServices.remove(service.getId());
 }
예제 #2
0
 public void addPersistenceService(PersistenceService service) {
   if (service instanceof QueryablePersistenceService) {
     persistenceServices.put(service.getId(), (QueryablePersistenceService) service);
   }
 }