code: protected void setContextProvider(ServiceReference<JCAContextProvider> ref) {
          contextProviders.putReference((String) ref.getProperty(JCAContextProvider.TYPE), ref);
      }
docs: Declarative Services method for setting a JCAContextProvider service reference
  
  @param ref reference to the service