private Set < WebSphereBeanDeploymentArchive > createExtensionBDAs ( WebSphereCDIDeployment applicationContext ) throws CDIException { Set < WebSphereBeanDeploymentArchive > extensionBdas = new HashSet < WebSphereBeanDeploymentArchive > ( ) ; Set < ExtensionArchive > extensions = getExtensionArchives ( ) ; if ( extensions != null ) { for ( ExtensionArchive extArchive : extensions ) { WebSphereBeanDeploymentArchive moduleCDIContext = BDAFactory . createBDA ( applicationContext , extArchive , cdiRuntime ) ; extensionBdas . add ( moduleCDIContext ) ; } } return extensionBdas ; }
Create BDAs for all runtime extensions that cannot see application bdas