Hi folks! The current impl of isBDABeansXmlScanningEnabled() is pretty much disfunctional. This has to do that the BDA specification in CDI-1.1 is not as clear as it should be.
To get this straight: the BDA is not about specific JARs but rather about the 'modularization'. Means it's all about ClassLoaders. If you have an EAR with 3 WARs then we should have 4 BeanManager. One for the ear/lib and one for each WAR file which *delegate* to the 'parent' BeanManager. And the BDA granularity in practice can also only work on this level. While cleaning up the AlternativesManager, I also gonna remove this briken isBDABeansXmlScanningEnabled approach from where ever I find it along the way. LieGrue, strub
