code: protected ReferenceContext createReferenceContext(BeanMetaData bmd) // F743-29417
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "createReferenceContext: " + bmd.j2eeName);
  
          if (bmd.ivReferenceContext == null) {
              bmd.ivReferenceContext = getInjectionEngine().createReferenceContext();
              bmd.ivReferenceContext.add(new ComponentNameSpaceConfigurationProviderImpl(bmd, this)); // F85115
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "createReferenceContext", bmd.ivReferenceContext);
          return bmd.ivReferenceContext;
      }
docs: Creates the reference context for this EJB.