code: @Override
      public void scan() throws CDIException {
          Collection<WebSphereBeanDeploymentArchive> allBDAs = new ArrayList<WebSphereBeanDeploymentArchive>(deploymentDBAs.values());
          for (WebSphereBeanDeploymentArchive bda : allBDAs) {
              bda.scanForBeanDefiningAnnotations(true);
          }
          for (WebSphereBeanDeploymentArchive bda : allBDAs) {
              if (!bda.hasBeenScanned()) {
                  bda.scan();
              }
          }
      }
docs: Scan all the BDAs in the deployment to see if there are any bean classes.
  
  This method must be called before scanForEjbEndpoints() and before we try to do
  any real work with the deployment or the BDAs
  
  @throws CDIException