code: private void finishBMDInit(BeanMetaData bmd) throws ContainerException, EJBConfigurationException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "finishBMDInit: " + bmd.j2eeName); // d640935.1
  
          // First, create the reference context for the bean if we haven't already
          // done so.
          createReferenceContext(bmd); // F743-29417
  
          ivEJBMDOrchestrator.finishBMDInitWithReferenceContext(bmd);
  
          // Free resources in EJBModuleMetaData if all beans have been initialized.
          bmd._moduleMetaData.freeResourcesAfterAllBeansInitialized(bmd); //d462512
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "finishBMDInit");
      }
docs: Fully initialize the BeanMetaData. When this method completes
  successfully, bmd.fullyInitialized will be true; this method must not be
  called if this field is already true. The context class loader must be
  the runtime class loader when calling this method.