code: @Override
      public void deleted(String pid) {
          final ServiceRegistration<T> registration = registrations.get(pid);
          if (registration != null) {
              LOGGER.info("Unregistering OSGi service for pid \"{}\"...", pid);
              final T service = bundleContext.getService(registration.getReference());
              registration.unregister();
              LOGGER.info("Destroying service object for pid \"{}\"...", pid);
              destroy(pid, service);
          }
      }
docs: ----------------------------------------------------------------------------------------------------------------------