code: protected void setUowCurrent(ServiceReference<UOWCurrent> ref) {
          if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) {
              LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setUowCurrent", "setting " + ref);
          }
          uowCurrentRef.setReference(ref);
      }
docs: Declarative Services method for setting the UOWCurrent service reference
  
  @param ref reference to service object; type of service object is verified