@ 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 ( ) ; } } }
Scan all the BDAs in the deployment to see if there are any bean classes .