code: private void addRuntimeExtensions(WebSphereCDIDeployment webSphereCDIDeployment,
                                        DiscoveredBdas discoveredBdas) throws CDIException {
          //add the normal runtime extension using the bundle classloader to load the bda classes
          Set<WebSphereBeanDeploymentArchive> extensions = createExtensionBDAs(webSphereCDIDeployment);
          //add the runtime extensions containers
          webSphereCDIDeployment.addBeanDeploymentArchives(extensions);
          //add the runtime extensions containers
          for (WebSphereBeanDeploymentArchive bda : webSphereCDIDeployment.getApplicationBDAs()) {
              for (WebSphereBeanDeploymentArchive extBDA : extensions) {
                  if (bda != extBDA) {
                      bda.addBeanDeploymentArchive(extBDA);
                      if (extBDA.extensionCanSeeApplicationBDAs() && !discoveredBdas.isExcluded(bda)) {
                          extBDA.addBeanDeploymentArchive(bda);
                      }
                  }
              }
          }
      }
docs: Create a BDA for each runtime extension and add it to the deployment.
  
  @param webSphereCDIDeployment
  @param excludedBdas a set of application BDAs which should not be visible to runtime extensions
  @throws CDIException