code: @SuppressWarnings("unchecked")
      @Override
      public <S> S getService(ServiceReference<S> reference) {
          return (S) serviceImplementations.get(reference);
      }
docs: Get the service a {@link ServiceReference} is referring to.
  
  @param reference a {@link ServiceReference} for a registered service
  @return the object implementing the service