code: private String findManagedConnectionFactory(String className, Connector connector)
     {
        for (org.ironjacamar.common.api.metadata.spec.ConnectionDefinition cd :
                connector.getResourceadapter().getOutboundResourceadapter().getConnectionDefinitions())
        {
           if (className.equals(cd.getManagedConnectionFactoryClass().getValue()) ||
               className.equals(cd.getConnectionFactoryInterface().getValue()))
              return cd.getManagedConnectionFactoryClass().getValue();
        }
        return className;
     }
docs: Find the ManagedConnectionFactory class
  @param className The initial class name
  @param connector The metadata
  @return The ManagedConnectionFactory