code: private Reference createExtensionFactoryReference(ObjectFactoryInfo extensionFactory,
                                                        ResourceInjectionBinding resourceBinding) // F48603.9
      {
          String className = extensionFactory.getObjectFactoryClass().getName();
          Reference ref = new Reference(resourceBinding.getInjectionClassTypeName(), className, null);
  
          if (extensionFactory.isRefAddrNeeded()) // F48603
          {
              ref.add(new ResourceInfoRefAddr(createResourceInfo(resourceBinding)));
          }
  
          return ref;
      }
docs: Creates a Reference for a binding from a registered ObjectFactory.
  
  @param extensionFactory the object factory info
  @param resourceBinding the resource binding
  @return the reference