code: protected void setRRSXAResourceFactory(ServiceReference<Object> ref) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "setRRSXAResourceFactory", ref);
          rrsXAResFactorySvcRef.setReference(ref);
      }
docs: Declarative Services method for setting the RRS XA resource factory service implementation reference.
  
  @param ref reference to the service