code: @Override
      public EntityManagerFactory getEntityManagerFactory
                      (JPAPuId puId,
                       J2EEName j2eeName, // d510184
                       boolean getEmfWrapper) // d416151.3.1
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "getEntityManagerFactory : " + puId + ", " + j2eeName);
  
          EntityManagerFactory rtnFactory = null;
          JPAPUnitInfo puInfo = findPersistenceUnitInfo(puId);
          if (puInfo != null)
          {
              rtnFactory = puInfo.getEntityManagerFactory(j2eeName); // d510184
              if (getEmfWrapper) // d416151.3.1 d510184
              {
                  rtnFactory = getJPARuntime().createJPAEMFactory(puId, j2eeName, rtnFactory); // d416151.3.1 d510184, d706751
              }
          }
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "getEntityManagerFactory : " + rtnFactory);
          return rtnFactory;
      }
docs: (non-Javadoc)
  
  @see com.ibm.ws.jpa.JPAComponent#getEntityManagerFactory